There is no dedicated DAA (decimal adjust) instruction available in ST7. For this you will have to follow the standard algorithm used for hex to BCD conversion.
I can't believe that. If I have to ADD/SUB 2 packed-BCD Bytes there must be a possibility together with the CC register to adjust the result to a packed BCD-Byte.
On 2004-04-12 13:18, Jatin wrote: There is no dedicated DAA (decimal adjust) instruction available in ST7. For this you will have to follow the standard algorithm used for hex to BCD conversion.
Whats happened with the dialog box??? It wasn't me! [ This message was edited by: Moppie on 15-04-2004 11:49 ] [ This message was edited by: Moppie on 15-04-2004 11:50 ]