Commit Graph

107 Commits

Author SHA1 Message Date
51b28b3bac ft: introduce modrm macro for leaner matching
All instructions which use a modrm instruction
for memory reads from or into a register can
make use of this macro
2025-05-12 19:53:25 +09:00
317b5e5db4 fix: fix modrm parsing
Previously the wrong register was read in, now
the byte is deconstructed correctly
2025-05-12 15:38:20 +09:00
1dcd231f51 fix: fix bug in offset advancing with modrm bytes 2025-05-08 20:22:40 +09:00
df00f59b5a ft: implement disasm in own struct
This makes it easier to implement each opcode,
as the offset calculation and recovery of raw
read bytes is internalized.
2025-05-08 20:18:02 +09:00
1c7d3f3adc fix: cleanup structs into correct files 2025-05-08 10:05:09 +09:00
849895a437 ft: add modrm parsing 2025-05-07 22:46:58 +09:00
2af4578c8b ft: initial disasm of example data
This only contains two instructions of which I know
the correct output.
2025-05-07 15:48:44 +09:00