public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ff843
)
Did not work properly, printed wrong trap number. Does not work
author
ceriel
<none@none>
Mon, 27 Oct 1986 09:57:42 +0000
(09:57 +0000)
committer
ceriel
<none@none>
Mon, 27 Oct 1986 09:57:42 +0000
(09:57 +0000)
properly now, because it does no save the registers.
mach/m68k4/libem/trp.s
patch
|
blob
|
history
diff --git
a/mach/m68k4/libem/trp.s
b/mach/m68k4/libem/trp.s
index
0978c89
..
f531122
100644
(file)
--- a/
mach/m68k4/libem/trp.s
+++ b/
mach/m68k4/libem/trp.s
@@
-6,9
+6,9
@@
.sect .text
.trp:
- cmp.l #16,4(sp)
- bcc 1f
move.l d0,-(sp)
+ cmp.l #16,8(sp)
+ bcc 1f
move.l 8(sp),d0
btst d0,.trpim
bne 3f
@@
-37,5
+37,5
@@
jmp EXIT
.sect .data
-fmt: .asciz "trap %d called\n"
+fmt: .asciz "
EM
trap %d called\n"
.align 2