public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de51d1e
)
endbss - begbss is no longer computable by the assembler
author
ceriel
<none@none>
Wed, 28 Jan 1987 18:49:59 +0000
(18:49 +0000)
committer
ceriel
<none@none>
Wed, 28 Jan 1987 18:49:59 +0000
(18:49 +0000)
mach/i80/libmon/head_em.s
patch
|
blob
|
history
diff --git
a/mach/i80/libmon/head_em.s
b/mach/i80/libmon/head_em.s
index
b4b3b2d
..
2e28aff
100644
(file)
--- a/
mach/i80/libmon/head_em.s
+++ b/
mach/i80/libmon/head_em.s
@@
-12,8
+12,14
@@
.sect .text
lxi h,0x1000 ! stack will grow from 0x1000 downwards
sphl
+ lxi d,endbss
lxi h,begbss ! clear bss
- lxi d,endbss-begbss
+ mov a,e
+ sub l
+ mov e,a
+ mov a,d
+ sbb h
+ mov d,a ! de now contains endbss - begbss
mvi c,0
2: mov m,c