public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45eda8
)
bug fixes
author
ceriel
<none@none>
Tue, 16 May 1989 16:02:46 +0000
(16:02 +0000)
committer
ceriel
<none@none>
Tue, 16 May 1989 16:02:46 +0000
(16:02 +0000)
mach/i86/libem/exg.s
patch
|
blob
|
history
mach/i86/libem/iaar.s
patch
|
blob
|
history
diff --git
a/mach/i86/libem/exg.s
b/mach/i86/libem/exg.s
index
6360c8e
..
35fa931
100644
(file)
--- a/
mach/i86/libem/exg.s
+++ b/
mach/i86/libem/exg.s
@@
-5,7
+5,7
@@
.sect .text
.exg:
push di
- mov
sp,di
+ mov
di,sp
add di,4
mov bx,di
add bx,cx
@@
-14,6
+14,8
@@
mov ax,(bx)
xchg ax,(di)
mov (bx),ax
+ add di,2
+ add bx,2
loop 1b
2:
pop di
diff --git
a/mach/i86/libem/iaar.s
b/mach/i86/libem/iaar.s
index
e55f428
..
940e529
100644
(file)
--- a/
mach/i86/libem/iaar.s
+++ b/
mach/i86/libem/iaar.s
@@
-10,10
+10,9
@@
jne .unknown
pop bx ! descriptor address
pop ax ! index
- pop dx ! array base
sub ax,(bx)
mul 4(bx)
- mov bx,dx
+ pop bx ! base address
add bx,ax
push cx
ret