debug: First steps on instruction decoding

This commit is contained in:
Nero 2020-05-19 23:10:20 +02:00
parent e60e49735c
commit 04a7087d79
4 changed files with 108 additions and 11 deletions

View file

@ -4,10 +4,17 @@ rnames: ; general purpose regs
db "ESCSSSDS"
; special regs
db "IPFL"
bnames: ; 8-bit registers
db "ALCLDLBLAHCHDHBH"
fnames: ; control flags
db "++++ODIT"
; status flags
db "SZ+A+P+C"
instr:
mnem:
.db: db "DB", 0
.push: db "PUSH", 0
.pop: db "POP", 0
.mov: db "MOV", 0
.movsb: db "MOVSB", 0
.movsw: db "MOVSW", 0