20 Commits

Author SHA1 Message Date
6909f75b35 Little bit more clean up 2025-03-13 21:59:37 +07:00
3dca2254e1 Add helper proc to clean up the word/byte keyword 2025-03-13 17:50:32 +07:00
460e1a8700 Little bit of clean up and organization 2025-03-13 12:46:25 +07:00
fc02debf65 Last bunch of instructions to get listing 42 fully read 2025-03-12 23:46:47 +07:00
babb07cb43 Segment register for memory addresses and lock string 2025-03-12 11:31:14 +07:00
8967be44a0 Major refactor to define both operands so either can be empty 2025-03-12 11:07:40 +07:00
08ef7d901b IN, OUT, XLAT, LEA, LDS, LES, ADC 2025-03-07 19:27:01 +07:00
782ff93ace Handle accumulator differently, handle segment registers, handle unary, add instructions 2025-03-07 10:14:36 +07:00
390fedc848 Add more instructions, add segment registers, move types up, read more data 2025-03-07 10:13:49 +07:00
6365bd73a0 Encode jump offsets, collect instruction lines as strings, print at end 2025-02-24 20:03:18 +07:00
1f9837b256 Change how we detect explicit word sizes, fix data_idx 2025-02-23 12:05:56 +07:00
c1799fcac2 Jump instructions and read opname from 3-bit pattern 2025-02-22 22:03:14 +07:00
446848dffb Generalizing data and operand bracketing, to make add instrunction work 2025-02-21 23:35:24 +07:00
bc0a8b65eb New declarative style instruction definition, generalized parsing 2025-02-21 21:53:11 +07:00
f8f5744cd3 WIP: Separate parsing from printing, the easy way 2025-02-16 17:10:29 +07:00
fbedf7cf67 Process mov instruction properly, 01-02-39.asm now decoded properly 2025-02-14 23:08:45 +07:00
7c48c5ed90 Debug print encoding map 2025-01-21 22:46:31 +07:00
444510cca2 RegMemMode enum, Instruction struct with 'mov' encodings, plus a map, read bytes 2025-01-21 22:45:49 +07:00
86428f0263 Test w flag and print with the bytes in comments 2025-01-21 14:50:30 +07:00
0e4aebff13 Odin port 2025-01-21 14:20:41 +07:00