1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 15:58:06 +11:00

forth: improve assembler a bit

This commit is contained in:
Virgil Dupras 2020-03-27 18:38:42 -04:00
parent 49101915fb
commit 29dcddb8cd
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,6 @@
;
0x04 OP1r INCr,
0x05 OP1r DECr,
0x46 OP1r LDr(HL),
( r -- )
: OP1r0
@ -63,7 +62,6 @@
C@ ( r op )
OR A,
;
0x70 OP1r0 LD(HL)r,
0xa0 OP1r0 ANDr,
0xb0 OP1r0 ORr,
0xa8 OP1r0 XORr,
@ -208,6 +206,8 @@
;
0xcd OP3nn CALLnn,
0xc3 OP3nn JPnn,
0x22 OP3nn LD(nn)HL,
0x2a OP3nn LDHL(nn),
: OPJR
CREATE C,

View File

@ -173,13 +173,13 @@ CODE C!
HL POPqq,
DE POPqq,
chkPS,
E LD(HL)r,
(HL) E LDrr,
;CODE
CODE C@
HL POPqq,
chkPS,
L LDr(HL),
L (HL) LDrr,
H 0 LDrn,
HL PUSHqq,
;CODE