Optimise “#xy STH” to “LITr xy”.
This commit is contained in:
parent
fd55e929e1
commit
3a834fdfc1
|
@ -449,7 +449,7 @@
|
|||
,asma-parse-hex-digit JSR
|
||||
DUP #f0 AND ,&fail JCN
|
||||
LITr 40 SFT2r
|
||||
#00 STH STH ADD2r
|
||||
LITr 00 STH ADD2r
|
||||
INC2
|
||||
,&loop JMP
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
&number
|
||||
LIT2r 000a MUL2r
|
||||
LDAk #30 SUB #00 STH STH ADD2r
|
||||
LDAk #30 SUB LITr 00 STH ADD2r
|
||||
INC2
|
||||
LDAk #3039 IN-RANGE ,&number JCN
|
||||
|
||||
|
|
Loading…
Reference in New Issue