mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 12:48:45 +10:00
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
214 B
Plaintext
17 lines
214 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
|
|
|
|
|
|
|
|
|