mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:28:05 +11:00
11 lines
350 B
Plaintext
11 lines
350 B
Plaintext
|
( 0000 0000 0sss 0000 )
|
||
|
: OPb CREATE , DOES> @ ( b op )
|
||
|
SWAP 4 LSHIFT OR A,, ;
|
||
|
0b1001010010001000 OPb BCLR, 0b1001010000001000 OPb BSET,
|
||
|
|
||
|
( 0000 000d dddd 0bbb )
|
||
|
: OPRdb CREATE , DOES> @ ( rd b op )
|
||
|
ROT _Rdp OR A,, ;
|
||
|
0b1111100000000000 OPRdb BLD, 0b1111101000000000 OPRdb BST,
|
||
|
0b1111110000000000 OPRdb SBRC, 0b1111111000000000 OPRdb SBRS,
|