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
|
pat cai
|
||||||
with hlreg
|
with hlreg
|
||||||
kills ALL
|
kills ALL
|
||||||
uses dereg
|
gen Call {label, ".pchl"}
|
||||||
gen lxi de,{label,1f}
|
|
||||||
push de
|
|
||||||
pchl.
|
|
||||||
1:
|
|
||||||
|
|
||||||
pat lfr $1==2 yields de
|
pat lfr $1==2 yields de
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue