55 Commits

Author SHA1 Message Date
af8475caf7 Make a5 and a6 work 2023-07-11 15:57:12 +09:00
639b1bc6b5 Make a4.out work 2023-07-11 15:30:31 +09:00
e3d4664a46 Fix small rm display bug 2023-07-11 14:48:52 +09:00
1e1b16f57a Implement shl 2023-07-11 11:56:54 +09:00
ddd1f6f7e4 Fix compare with acc 2023-07-11 11:06:23 +09:00
0498a615fe Implement brk 2023-07-11 10:53:14 +09:00
30a6db17d0 Implement and and ioctl 2023-07-11 10:07:31 +09:00
b81a8863db Implement inc and custom byte print 2023-07-11 09:48:44 +09:00
7e7247ecbf Fix imm addr bug 2023-07-11 09:26:07 +09:00
efb077beb0 Implement cbw 2023-07-10 23:51:31 +09:00
e8b3106bce Implement dec and fix write return 2023-07-10 23:24:55 +09:00
733510db78 Fix relative addresses 2023-07-10 22:47:31 +09:00
30c510132b Implement or 2023-07-10 17:38:44 +09:00
e8d3885204 Implement ret and pop 2023-07-10 17:34:30 +09:00
18f345f209 Fix some addressing issues 2023-07-10 17:12:14 +09:00
64668fb79b Add conditional jumps instructions 2023-07-10 16:08:12 +09:00
bfc84ce2aa Implement add 2023-07-09 13:08:09 +09:00
e99e054e24 Implement lea 2023-07-09 13:02:09 +09:00
a82d55c4ce Setup the inital stack 2023-07-09 00:05:02 +09:00
f46715f4c1 Rework 16bit read/write to handle endianess 2023-07-08 19:20:54 +09:00
521d9e5113 Print rm values 2023-07-08 15:48:41 +09:00
215c249b0e Implement jmp 2023-07-07 18:16:40 +09:00
bb9ffebd4a Implement the call instruction 2023-07-07 18:01:03 +09:00
7f96fd2765 Add push instruction 2023-07-07 17:31:47 +09:00
56f78ce96f Fix sub instruction 2023-07-07 16:22:11 +09:00
be7cba2f35 Add sub instruction 2023-07-07 16:14:28 +09:00
8d2cd435d0 Implement the int instruction 2023-07-06 14:30:40 +09:00
012792f901 Implement rm and relative addressing 2023-07-05 15:12:44 +09:00
9d37a5e7ad Handle registers inside operands 2023-07-05 11:39:17 +09:00
6302e9b415 Start to implement mov 2023-07-05 11:10:43 +09:00
1bba827d30 Add instruction execution pointers 2023-07-05 09:41:22 +09:00
9d47b1e500 Add interpretor printing 2023-07-05 09:36:49 +09:00
e19399edc4 Update screens 2023-06-01 18:55:57 +09:00
60204a51a3 Fix some printing issues 2023-06-01 18:50:33 +09:00
60b93f8024 Fix operands order parsing 2023-06-01 18:34:55 +09:00
222c1f0d1a Fix disp 2023-06-01 18:15:12 +09:00
3b64aff81a Add more extended instructions 2023-06-01 18:13:28 +09:00
3701222b45 Fix relative address print 2023-06-01 16:55:54 +09:00
ea17cffaef Rework instructions size handling 2023-06-01 16:49:13 +09:00
8107b06da4 Fix register bitshift priority 2023-06-01 16:02:08 +09:00
36b7ffc830 Finish extended opcode support 2023-06-01 15:41:47 +09:00
9d4b5ae654 Add extended support (wip) 2023-06-01 15:37:09 +09:00
8e442c0c58 Add screens 2023-05-31 19:39:58 +09:00
badfc77568 Add readme 2023-05-31 19:24:06 +09:00
6b62dbda23 Add more instructions 2023-05-31 19:13:05 +09:00
8f92127f0f Add more instructions 2023-05-31 18:56:10 +09:00
23ea273554 Add tests 2023-05-31 18:22:32 +09:00
64658adc76 Add basic [bx+si] support 2023-05-31 18:22:29 +09:00
50282f3559 Handle commas 2023-05-31 17:51:18 +09:00
9dbab87fb4 Fix binary size 2023-05-31 17:43:43 +09:00