ack/mach/vax4/libem/sim.s
1990-01-12 10:29:26 +00:00

15 lines
322 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .sim
! $Header$
.sim:
movl (sp)+,r0
movl (sp)+,.trpim ! store ignore mask
bbc $5,.trpim,I3 ! floating underflow to be ignored?
bicpsw $0100
jmp (r0)
I3:
bispsw $0100 ! enable underflow trap
jmp (r0)