public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e986a6
)
lowlevel-68000: fix hex dump
author
Alan Cox
<alan@linux.intel.com>
Mon, 12 Sep 2016 23:13:33 +0000
(
00:13
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 12 Sep 2016 23:13:33 +0000
(
00:13
+0100)
Kernel/lowlevel-68000.S
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-68000.S
b/Kernel/lowlevel-68000.S
index
8b427cd
..
468949e
100644
(file)
--- a/
Kernel/lowlevel-68000.S
+++ b/
Kernel/lowlevel-68000.S
@@
-498,9
+498,10
@@
outa0hex: move.l a0,d0
bsr outcharhex
move.l a0,d0
outcharhex: move.w d0,-(sp)
- lsr #4,d0
+ lsr
.b
#4,d0
bsr hexdigit
move.w (sp),d0
+ and.b #15,d0
bsr hexdigit
move.w (sp)+,d0
rts