Commit Graph

23 Commits

Author SHA1 Message Date
Peter McGoron 3dd29b1004 add label parser that can deal with forward jumps; all tests pass 2023-02-20 18:45:21 +00:00
Peter McGoron 48827c5b74 adjust python assembler to new API 2023-02-18 16:05:09 +00:00
Peter McGoron f6d9276d24 add license 2023-02-12 20:54:21 +00:00
Peter McGoron 304e5d63c5 syscall test 2023-02-12 20:37:45 +00:00
Peter McGoron 4f14e48ba5 more loop tests 2023-02-12 20:21:25 +00:00
Peter McGoron 827abe4305 add immediate signed and unsigned tests 2023-02-12 19:52:41 +00:00
Peter McGoron 00e9d12c71 add mov and unconditional jump 2023-02-12 19:28:48 +00:00
Peter McGoron 009af92f65 documentation 2023-02-12 19:13:37 +00:00
Peter McGoron 7b3eaf9b4f add pseudoinstructions that compile to regular instructions 2023-02-12 18:06:08 +00:00
Peter McGoron b425e26ea3 jump tests 2023-02-11 21:24:48 +00:00
Peter McGoron 70720b8a16 rename idiv to sdiv 2023-02-11 20:51:03 +00:00
Peter McGoron 5f3275cf2d add signed division IDIV 2023-02-11 20:49:39 +00:00
Peter McGoron 18ad8f03c6 more test 2023-02-11 17:36:15 +00:00
Peter McGoron b80cb225a4 add stack overflow and underflow tests 2023-02-11 17:27:29 +00:00
Peter McGoron 07347d1f66 more add tests 2023-02-11 17:11:32 +00:00
Peter McGoron 15fb92e502 comments and negative immediates 2023-02-11 17:04:17 +00:00
Peter McGoron 582a0a2c9a enable compiling and add compile test 2023-02-11 14:28:43 +00:00
Peter McGoron 98bf49d931 test pop 2023-02-09 20:42:36 +00:00
Peter McGoron ef84135a2e change instructions to be an enum 2023-02-09 16:32:32 +00:00
Peter McGoron c0770d8ece add compile t est 2023-02-09 16:16:41 +00:00
Peter McGoron e044a7b457 test refactoring 2023-02-08 13:56:39 +00:00
Peter McGoron 606814c4c0 python ffi: test parsing 2023-02-08 04:15:54 +00:00
Peter McGoron f6e8c62f9e move python 2023-02-07 17:46:44 +00:00