NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: MAHESHDEEVELA on March 02, 2016, 06:57:33 AM
-
hi i have the doubt on addition of two bcd numbers any one can post program for bcd addition
-
Ahhh... I almost remember bcd. Seems to me we used an ordinary integer "add" and then followed it with one of those "adjust" instructions, no?
mov al, 9
add al, 8
daa ; or aaa?
Something like that? But I recall that the point with bcd was to do multiple digits - maybe "many" digits.
Do you have a clear idea what you want to do? (the "customer specification" otherwise known as the "assignment")
Best,
Frank