public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9d436
)
There was a bug in the printing of the trap number.
author
ceriel
<none@none>
Fri, 6 Jun 1986 23:35:42 +0000
(23:35 +0000)
committer
ceriel
<none@none>
Fri, 6 Jun 1986 23:35:42 +0000
(23:35 +0000)
This is corrected.
mach/vax4/libem/trp.s
patch
|
blob
|
history
diff --git
a/mach/vax4/libem/trp.s
b/mach/vax4/libem/trp.s
index
0e3a5a6
..
e677903
100644
(file)
--- a/
mach/vax4/libem/trp.s
+++ b/
mach/vax4/libem/trp.s
@@
-31,8
+31,8
@@
L2:
movl $5,r2 # Max number of digits.
movl (sp),r0 # Trap number in r0.
L3:
- bicw
2 $0177770,r0
# Lower 3 bits form lower octal digit.
- bisb2 r
0
,-(r1) # Put them in the '0'.
+ bicw
3 $0177770,r0,r3
# Lower 3 bits form lower octal digit.
+ bisb2 r
3
,-(r1) # Put them in the '0'.
ashl $-3,r0,r0 # Shift the 3 bits off.
sobgtr r2,L3
movl ap,r2