Enabled divide by 0 and improper trap

This commit is contained in:
ceriel 1993-02-24 15:10:14 +00:00
parent dfc4956d59
commit 14e756ba87

View file

@ -33,6 +33,15 @@ begtext:
mov %sp, %l0
sub %sp, %g4, %sp
dec 12, %l0
! enable divide by 0 trap and improper
! trap
st %fsr, [%l0]
ld [%l0], %o3
set 0x09000000, %o4
or %o3, %o4, %o3
st %o3, [%l0]
ld [%l0], %fsr
st %o0, [%l0]
st %o1, [%l0+4]
st %o2, [%l0+8]