Commit Graph
39 Commits
Author SHA1 Message Date
zoriya bfc84ce2aa Implement add 2023-07-09 13:08:09 +09:00
zoriya e99e054e24 Implement lea 2023-07-09 13:02:09 +09:00
zoriya a82d55c4ce Setup the inital stack 2023-07-09 00:05:02 +09:00
zoriya f46715f4c1 Rework 16bit read/write to handle endianess 2023-07-08 19:20:54 +09:00
zoriya 521d9e5113 Print rm values 2023-07-08 15:48:41 +09:00
zoriya 215c249b0e Implement jmp 2023-07-07 18:16:40 +09:00
zoriya bb9ffebd4a Implement the call instruction 2023-07-07 18:01:03 +09:00
zoriya 7f96fd2765 Add push instruction 2023-07-07 17:31:47 +09:00
zoriya 56f78ce96f Fix sub instruction 2023-07-07 16:22:11 +09:00
zoriya be7cba2f35 Add sub instruction 2023-07-07 16:14:28 +09:00
zoriya 8d2cd435d0 Implement the int instruction 2023-07-06 14:30:40 +09:00
zoriya 012792f901 Implement rm and relative addressing 2023-07-05 15:12:44 +09:00
zoriya 9d37a5e7ad Handle registers inside operands 2023-07-05 11:39:17 +09:00
zoriya 6302e9b415 Start to implement mov 2023-07-05 11:10:43 +09:00
zoriya 1bba827d30 Add instruction execution pointers 2023-07-05 09:41:22 +09:00
zoriya 9d47b1e500 Add interpretor printing 2023-07-05 09:36:49 +09:00
zoriya e19399edc4 Update screens 2023-06-01 18:55:57 +09:00
zoriya 60204a51a3 Fix some printing issues 2023-06-01 18:50:33 +09:00
zoriya 60b93f8024 Fix operands order parsing 2023-06-01 18:34:55 +09:00
zoriya 222c1f0d1a Fix disp 2023-06-01 18:15:12 +09:00
zoriya 3b64aff81a Add more extended instructions 2023-06-01 18:13:28 +09:00
zoriya 3701222b45 Fix relative address print 2023-06-01 16:55:54 +09:00
zoriya ea17cffaef Rework instructions size handling 2023-06-01 16:49:13 +09:00
zoriya 8107b06da4 Fix register bitshift priority 2023-06-01 16:02:08 +09:00
zoriya 36b7ffc830 Finish extended opcode support 2023-06-01 15:41:47 +09:00
zoriya 9d4b5ae654 Add extended support (wip) 2023-06-01 15:37:09 +09:00
zoriya 8e442c0c58 Add screens 2023-05-31 19:39:58 +09:00
zoriya badfc77568 Add readme 2023-05-31 19:24:06 +09:00
zoriya 6b62dbda23 Add more instructions 2023-05-31 19:13:05 +09:00
zoriya 8f92127f0f Add more instructions 2023-05-31 18:56:10 +09:00
zoriya 23ea273554 Add tests 2023-05-31 18:22:32 +09:00
zoriya 64658adc76 Add basic [bx+si] support 2023-05-31 18:22:29 +09:00
zoriya 50282f3559 Handle commas 2023-05-31 17:51:18 +09:00
zoriya 9dbab87fb4 Fix binary size 2023-05-31 17:43:43 +09:00
zoriya 3c2fcf9281 Add support for registers and rm 2023-05-31 17:28:55 +09:00
zoriya 3e9df76700 Add imediate memory support 2023-05-31 16:21:22 +09:00
zoriya e9b2a773ac Parse header and first instruction 2023-05-31 16:08:56 +09:00
zoriya 2b6ebadac2 Parse arguments 2023-05-31 14:16:00 +09:00
zoriya 1f1b0708fa Initial commit 2023-05-31 13:53:05 +09:00