??? 05/19/04 09:19 Read: times |
#70671 - RE: Thanks Responding to: ???'s previous message |
adnan zaffar said:
12 onwards to 65000... combine them to be a 4 byte long variable Why four bytes? Think about it: how many bits do you need to represent positive numbers up to 65000...? adnan zaffar said:
can i use the command INC to increment my variable Again, think about how many bits you need to represent the number; then look in the Instruction Set manual that I cited earler - what size operands does the INC instruction take? Think about how you do addition yourself: Hint: what do you do with the Carry...? |