ack/mach/pdp/libem/sim.s

32 lines
396 B
ArmAsm
Raw Normal View History

1987-05-15 09:11:10 +00:00
#
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.sect .text
.define sim~
.extern trpim~
1994-06-24 14:02:31 +00:00
! $Id$
1984-07-19 12:51:00 +00:00
1987-05-15 09:11:10 +00:00
#define float
1984-07-19 12:51:00 +00:00
sim~:
mov (sp)+,r3
1984-07-19 12:51:00 +00:00
mov (sp)+,r0
mov r0,trpim~
1987-05-15 09:11:10 +00:00
#ifdef float
1984-07-19 12:51:00 +00:00
stfps r1
bis $07400,r1
bit $020,r0
beq 0f
bic $01000,r1
0: bit $040,r0
beq 0f
bic $02000,r1
0: bit $01000,r0
beq 0f
bic $04000,r1
0: bit $02000,r0
beq 0f
bic $0400,r1
0: ldfps r1
1987-05-15 09:11:10 +00:00
#endif
jmp (r3)