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, 0xed A,
SWAP <<4 0x4b OR A, SWAP <<4 0x4b OR A,
A,, A,,

View File

@ -9,5 +9,5 @@ HERESTART [IF]
HL HERESTART LDdn, HL HERESTART LDdn,
[THEN] [THEN]
SYSVARS 0x04 + LD(n)HL, ( RAM+04 == HERE ) 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 ) JR, L1 FWR ( execute, B287 )

View File

@ -7,7 +7,7 @@ lblnext BSET PC ORG @ 0x1b + ! ( next )
SP SUBHLd, HL POP, SP SUBHLd, HL POP,
IFNC, ( SP <= IX? overflow ) IFNC, ( SP <= IX? overflow )
SP PS_ADDR LDdn, IX RS_ADDR LDdn, 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 ) JR, L2 FWR ( execute, B287 )
THEN, THEN,
LDA(BC), E A LDrr, BC INCd, LDA(BC), E A LDrr, BC INCd,

View File

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

View File

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

View File

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