mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 16:08:06 +11:00
0892193cbe
I don't remove z80a.fs yet because build process needs it, but that will change shortly.
12 lines
273 B
Plaintext
12 lines
273 B
Plaintext
( r -- )
|
|
: OP1r0
|
|
CREATE C,
|
|
DOES>
|
|
C@ ( r op )
|
|
OR A,
|
|
;
|
|
0x80 OP1r0 ADDr, 0x88 OP1r0 ADCr,
|
|
0xa0 OP1r0 ANDr, 0xb8 OP1r0 CPr,
|
|
0xb0 OP1r0 ORr, 0x90 OP1r0 SUBr,
|
|
0x98 OP1r0 SBCr, 0xa8 OP1r0 XORr,
|