Fixes to return sequence

This commit is contained in:
ceriel 1987-05-11 10:24:36 +00:00
parent 85f491555f
commit 35fa794781

View file

@ -1982,12 +1982,14 @@ pat lfr ret $1==$2 leaving ret 0
pat ret $1==0
with STACK
gen mov lb,sp
mov {autoinc, sp},lb
rts pc
pat ret $1==2
with src2 STACK
gen move %1,r0
mov lb,sp
mov {autoinc, sp},lb
rts pc
pat ret $1==4
@ -1995,6 +1997,7 @@ with STACK
gen mov {autoinc,sp},r0
mov {autoinc,sp},r1
mov lb,sp
mov {autoinc, sp},lb
rts pc
pat ret $1==8 yields {addr_external, "retar"}