Public bug reported:
I have been running the following program step by step and found many
CY, AC wrong flags and DAA conversion errors.
start: xra a
mov b,a
mov c,a
mvi l,100
mvi h,100
loop: add b
daa
call delay
mov a,b
adi 1
daa
mov b,a
mov a,c
dcr l
jnz loop
mov a,c
adi 1
daa
mov c,a
mvi l,100
dcr h
jnz loop
hlt
delay: lxi d,0ffffh
delp: dcx d
mov a,e
ora d
jnz delp
ret
Please check it out.
** Affects: gnusim8085
Importance: Undecided
Status: New
** Visibility changed to: Public
** This bug is no longer flagged as a security vulnerability
--
AC flag and DAA error
https://bugs.launchpad.net/bugs/584110
You received this bug notification because you are a member of
GNUSim8085 developers, which is subscribed to gnusim8085.
Status in gnusim8085: New
Bug description:
I have been running the following program step by step and found many CY, AC
wrong flags and DAA conversion errors.
start: xra a
mov b,a
mov c,a
mvi l,100
mvi h,100
loop: add b
daa
call delay
mov a,b
adi 1
daa
mov b,a
mov a,c
dcr l
jnz loop
mov a,c
adi 1
daa
mov c,a
mvi l,100
dcr h
jnz loop
hlt
delay: lxi d,0ffffh
delp: dcx d
mov a,e
ora d
jnz delp
ret
Please check it out.
_______________________________________________
Mailing list: https://launchpad.net/~gnusim8085-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~gnusim8085-devel
More help : https://help.launchpad.net/ListHelp