Comment 7 for bug 584093

Revision history for this message
felixcpfung (felixcpfung) wrote : Re: [Bug 584093] Re: 78+88 in BCD addition missed carry

Yes, Onkar, I agree with you that there is some confusion. The program I
reported is for BCD addition. The value in Hex format of course represented
a Binary Coded Decimal value. Or DAA is not required.

I have found this DAA bug existing in many software simulator/Emulator
programms.
Perhaps DAA is not that important to the authors.

Anyway thanks for the attention and I am looking forward to the good news.
Regards, Felix

2010/5/28 Onkar Shinde <email address hidden>

> Felix,
>
> I think there is some confusion here (at least on my part). The values 74
> and 88 you have provided in the program are in hex format (not decimal).
> Where as in your explanation in comment 4 above you are considering them as
> decimal.
> Anyway, as of now Aanjhan is in better position to analyze the bug as he
> has more knowledge in this regard and he may actually get access to
> hardware. So I leave the bug to him. :-)
>
> ** Changed in: gnusim8085
> Importance: Undecided => Medium
>
> --
> 78+88 in BCD addition missed carry
> https://bugs.launchpad.net/bugs/584093
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in gnusim8085: Triaged
>
> Bug description:
> With the following program, the carry flag is missed:
>
> mvi a,078h
> adi 088h
> daa
> hlt
>
> please check
>
> regards, Felix Fung
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/gnusim8085/+bug/584093/+subscribe
>