small fix: carry was not always clear before the 'sbc'
authorceriel <none@none>
Fri, 16 Oct 1992 15:43:46 +0000 (15:43 +0000)
committerceriel <none@none>
Fri, 16 Oct 1992 15:43:46 +0000 (15:43 +0000)
mach/z80/libmon/head_em.s
mach/z80/libsys/head_em.s

index da5dfec..251bd58 100644 (file)
@@ -25,6 +25,7 @@
        ld h,d
        ld l,e
        ld bc,begbss
+       xor a                   ! to clear carry
        sbc hl,bc
        ld a,h
        or l
index da5dfec..251bd58 100644 (file)
@@ -25,6 +25,7 @@
        ld h,d
        ld l,e
        ld bc,begbss
+       xor a                   ! to clear carry
        sbc hl,bc
        ld a,h
        or l