mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 19:48:06 +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:
parent
ffcd93699e
commit
73623fff53
2
blk/242
2
blk/242
@ -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,,
|
||||||
|
2
blk/284
2
blk/284
@ -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 )
|
||||||
|
2
blk/286
2
blk/286
@ -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,
|
||||||
|
2
blk/290
2
blk/290
@ -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
|
||||||
|
2
blk/583
2
blk/583
@ -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. )
|
||||||
|
Loading…
Reference in New Issue
Block a user