mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 06:18:06 +11:00
16 lines
183 B
Plaintext
16 lines
183 B
Plaintext
( n -- )
|
|
: OP2n
|
|
CREATE C,
|
|
DOES>
|
|
C@ A, A,
|
|
;
|
|
0xd3 OP2n OUTnA,
|
|
0xdb OP2n INAn,
|
|
0xc6 OP2n ADDn,
|
|
0xe6 OP2n ANDn,
|
|
0xf6 OP2n ORn,
|
|
0xd6 OP2n SUBn,
|
|
0xee OP2n XORn,
|
|
0xfe OP2n CPn,
|
|
|