mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 16:58:06 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
184 B
Plaintext
17 lines
184 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,
|
|
|
|
|