Thread: ASM: Resources
View Single Post
Old 08 January 2015, 17:39   #45
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,997
Really?

Quote:
By now you may understand that FF is the highest number in a byte (in hex), just like 99 is the highest number out of a 2 digit decimal number. Adding 1 to 99 (in decimal) results in 100, for hex it would be the same thing, adding 1 to FF (in hex) results in 100.
Wrong.

If you add 1 to $ff, you don't get $100, you get ZERO, as its on a byte boundary, and he quite explicitly is stating about bytes.

You would only get $100 if you were dealing with a word or a longword.
Galahad/FLT is online now  
 
Page generated in 0.04948 seconds with 11 queries