AC flag and DAA error
Bug #584110 reported by
felixcpfung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnusim8085 |
New
|
Undecided
|
Unassigned |
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.
security vulnerability: | yes → no |
visibility: | private → public |
To post a comment you must log in.
Felix,
Can you please describe all the errors in detail? Are they same as mentioned in bug 584093?