1990-01-12 10:29:26 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
|
|
.define .sim
|
|
|
|
|
1994-06-24 14:02:31 +00:00
|
|
|
! $Id$
|
1985-01-18 14:30:03 +00:00
|
|
|
|
|
|
|
.sim:
|
|
|
|
movl (sp)+,r0
|
1990-01-12 10:29:26 +00:00
|
|
|
movl (sp)+,.trpim ! store ignore mask
|
|
|
|
bbc $5,.trpim,I3 ! floating underflow to be ignored?
|
1985-01-18 14:30:03 +00:00
|
|
|
bicpsw $0100
|
|
|
|
jmp (r0)
|
1990-01-12 10:29:26 +00:00
|
|
|
I3:
|
|
|
|
bispsw $0100 ! enable underflow trap
|
1985-01-18 14:30:03 +00:00
|
|
|
jmp (r0)
|