2004-04-14 11:18 PM
2004-04-08 07:46 AM
the ASM language of the MC05 and Z86 I have programed until now there is instruction for decimal adjust after SUB and ADD operations.
How can I do this at the ST7 ?2004-04-12 12:48 AM
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.
2004-04-13 03:37 AM
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.2004-04-14 11:18 PM
Is the Half carry in the CC register an option?
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 ]