2020-04-22 21:19:12 -04:00
|
|
|
( 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)
|
2020-06-27 22:01:56 -04:00
|
|
|
HL POP,
|
2020-04-22 21:19:12 -04:00
|
|
|
B H LDrr,
|
|
|
|
C L LDrr,
|
2020-06-27 22:01:56 -04:00
|
|
|
SP ADDHLd,
|
|
|
|
HL INCd,
|
2020-04-22 21:19:12 -04:00
|
|
|
D H LDrr,
|
|
|
|
E L LDrr,
|
2020-06-27 22:01:56 -04:00
|
|
|
HL DECd,
|
|
|
|
HL DECd,
|
2020-04-22 21:19:12 -04:00
|
|
|
LDDR,
|
|
|
|
;CODE
|