zasm: add support for SBC HL, ss
This commit is contained in:
parent
d9fff16157
commit
44abc79850
@ -2,7 +2,7 @@
|
|||||||
; Number of rows in the argspec table
|
; Number of rows in the argspec table
|
||||||
.equ ARGSPEC_TBL_CNT 31
|
.equ ARGSPEC_TBL_CNT 31
|
||||||
; Number of rows in the primary instructions table
|
; Number of rows in the primary instructions table
|
||||||
.equ INSTR_TBL_CNT 150
|
.equ INSTR_TBL_CNT 151
|
||||||
; size in bytes of each row in the primary instructions table
|
; size in bytes of each row in the primary instructions table
|
||||||
.equ INSTR_TBL_ROWSIZE 6
|
.equ INSTR_TBL_ROWSIZE 6
|
||||||
; Instruction IDs They correspond to the index of the table in instrNames
|
; Instruction IDs They correspond to the index of the table in instrNames
|
||||||
@ -1131,6 +1131,7 @@ instrTBl:
|
|||||||
.db I_RRCA,0, 0, 0, 0x0f , 0 ; RRCA
|
.db I_RRCA,0, 0, 0, 0x0f , 0 ; RRCA
|
||||||
.db I_SBC, 'A', 'l', 0, 0x9e , 0 ; SBC A, (HL)
|
.db I_SBC, 'A', 'l', 0, 0x9e , 0 ; SBC A, (HL)
|
||||||
.db I_SBC, 'A', 0xb, 0, 0b10011000 , 0 ; SBC A, r
|
.db I_SBC, 'A', 0xb, 0, 0b10011000 , 0 ; SBC A, r
|
||||||
|
.db I_SBC,'h',0x3,0x44, 0xed, 0b01000010 ; SBC HL, ss
|
||||||
.db I_SCF, 0, 0, 0, 0x37 , 0 ; SCF
|
.db I_SCF, 0, 0, 0, 0x37 , 0 ; SCF
|
||||||
.db I_SUB, 'l', 0, 0, 0x96 , 0 ; SUB (HL)
|
.db I_SUB, 'l', 0, 0, 0x96 , 0 ; SUB (HL)
|
||||||
.db I_SUB, 0xb, 0, 0, 0b10010000 , 0 ; SUB r
|
.db I_SUB, 0xb, 0, 0, 0b10010000 , 0 ; SUB r
|
||||||
|
@ -25,3 +25,4 @@ label2: .dw 0x42
|
|||||||
rr e
|
rr e
|
||||||
rlc c
|
rlc c
|
||||||
cp '-'
|
cp '-'
|
||||||
|
sbc hl, bc
|
||||||
|
Loading…
Reference in New Issue
Block a user