mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-30 06:48:04 +11: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
|