Use a helper function for cai --- only saves two bytes per invocation, but is
much less embarassing.
This commit is contained in:
parent
2b0629f87f
commit
08b92153a0
10
mach/i80/libem/pchl.s
Normal file
10
mach/i80/libem/pchl.s
Normal file
|
@ -0,0 +1,10 @@
|
|||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
|
||||
.define .pchl
|
||||
.pchl:
|
||||
pchl
|
||||
|
|
@ -1819,11 +1819,7 @@ gen Call {label,$1}
|
|||
pat cai
|
||||
with hlreg
|
||||
kills ALL
|
||||
uses dereg
|
||||
gen lxi de,{label,1f}
|
||||
push de
|
||||
pchl.
|
||||
1:
|
||||
gen Call {label, ".pchl"}
|
||||
|
||||
pat lfr $1==2 yields de
|
||||
|
||||
|
|
Loading…
Reference in a new issue