mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 20:18:06 +11:00
2d9a07d215
This was becoming heavy to manage.
13 lines
237 B
Plaintext
13 lines
237 B
Plaintext
( r -- )
|
|
: OP1r
|
|
CREATE C,
|
|
DOES>
|
|
C@ ( r op )
|
|
SWAP ( op r )
|
|
<<3 ( op r<<3 )
|
|
OR A,
|
|
;
|
|
0x04 OP1r INCr, 0x05 OP1r DECr,
|
|
: INC(IXY+), INCr, A, ;
|
|
: DEC(IXY+), DECr, A, ;
|