1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 09:48:05 +11:00

zasm: rename LDdd(n) to LDd(n)

it seems I left my asm argument harmonization half done here.

Instructions list at B208 doesn't correspond to many actual
mnemonics. This mnemonic here was the worst offender.
This commit is contained in:
Virgil Dupras 2020-08-14 21:41:34 -04:00
parent ffcd93699e
commit 73623fff53
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
: LDdd(n), ( d n -- )
: LDd(n), ( d n -- )
0xed A,
SWAP <<4 0x4b OR A,
A,,

View File

@ -9,5 +9,5 @@ HERESTART [IF]
HL HERESTART LDdn,
[THEN]
SYSVARS 0x04 + LD(n)HL, ( RAM+04 == HERE )
DE BIN( @ 0x04 ( BOOT ) + LDdd(n),
DE BIN( @ 0x04 ( BOOT ) + LDd(n),
JR, L1 FWR ( execute, B287 )

View File

@ -7,7 +7,7 @@ lblnext BSET PC ORG @ 0x1b + ! ( next )
SP SUBHLd, HL POP,
IFNC, ( SP <= IX? overflow )
SP PS_ADDR LDdn, IX RS_ADDR LDdn,
DE BIN( @ 0x13 ( oflw ) + LDdd(n),
DE BIN( @ 0x13 ( oflw ) + LDd(n),
JR, L2 FWR ( execute, B287 )
THEN,
LDA(BC), E A LDrr, BC INCd,

View File

@ -1,5 +1,5 @@
lbluflw BSET ( abortUnderflow )
DE BIN( @ 0x06 ( uflw ) + LDdd(n),
DE BIN( @ 0x06 ( uflw ) + LDd(n),
JR, lblexec BWR
lblchkPS BSET ( chkPS )
( Note that you only need to call this in words that push

View File

@ -8,6 +8,6 @@
ACIAW> LDHL(n),
( is it == to ACIAR>? )
( +0 == ACIAR> )
DE ACIAR> LDdd(n),
DE ACIAR> LDd(n),
( carry cleared from ANDi above )
DE SBCHLd, ( cont. )

View File

@ -7,7 +7,7 @@
( advance W> )
HL INCd,
ACIAW> LD(n)HL,
DE ACIA) LDdd(n),
DE ACIA) LDd(n),
DE SUBHLd,