Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/22/02 07:37
Read: times


 
#24756 - RE: 16 bit addition


art mancini wrote:
-------------------------------


HI LO
00 | 64
01 | 2C
ADD | 90 RESULT PLUS CARRY-----------> ADDC 01 RESULT-------------------------------02 | 90 ERROR RESULT SHOULD BE 190

WHERE AM I GOING WRONG

64h+2ch=90h and it does not generate carry.your carry seems to be set while entering this code.try clr c before executing
your addition.
pranav


List of 9 messages in thread
TopicAuthorDate
16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      
RE: 16 bit addition            01/01/70 00:00      

Back to Subject List