mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 03:18:08 +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
269 B
Plaintext
17 lines
269 B
Plaintext
( Low-level part of ROLL. Example:
|
|
"1 2 3 4 4 (roll)" --> "1 3 4 4". No sanity checks, never
|
|
call with 0. )
|
|
CODE (roll)
|
|
HL POPqq,
|
|
B H LDrr,
|
|
C L LDrr,
|
|
SP ADDHLss,
|
|
HL INCss,
|
|
D H LDrr,
|
|
E L LDrr,
|
|
HL DECss,
|
|
HL DECss,
|
|
LDDR,
|
|
;CODE
|
|
|