The previous version still assumed two-byte integers.

This commit is contained in:
keie 1985-03-04 15:33:28 +00:00
parent 2690f07cbd
commit d2a6847715

View file

@ -3,10 +3,10 @@
.text .text
.trp: .trp:
move.l (sp)+,a2 ! return address move.l (sp)+,a2 ! return address
move.w (sp)+,d0 ! error number move.l (sp)+,d0 ! error number
move.l a2,-(sp) move.l a2,-(sp)
move.w d0,-(sp) move.l d0,-(sp)
cmp #16,d0 cmp.l #16,d0
bcc 1f bcc 1f
btst d0,.trpim btst d0,.trpim
bne 3f bne 3f
@ -17,11 +17,13 @@
clr.l .trppc clr.l .trppc
jsr (a0) jsr (a0)
3: 3:
add #2,sp add #4,sp
rts rts
9: 9:
pea fmt pea fmt
jsr .diagnos jsr .diagnos
add #4,sp
jsr __cleanup
jmp EXIT jmp EXIT
.data .data