mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-06 12:38:46 +10:00
13 lines
210 B
Plaintext
13 lines
210 B
Plaintext
|
CODE RSHIFT ( n u -- n )
|
||
|
BC POPqq, ( u )
|
||
|
HL POPqq, ( n )
|
||
|
chkPS,
|
||
|
B C LDrr,
|
||
|
B INCr, B DECr, IFNZ,
|
||
|
BEGIN,
|
||
|
H SRLr, L RRr,
|
||
|
DJNZ, AGAIN,
|
||
|
THEN,
|
||
|
HL PUSHqq,
|
||
|
;CODE
|