Merge pull request #144 from davidgiven/dtrg-arraysizes
i80: use a helper function for cai.
This commit is contained in:
commit
a6b8ae66d7
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