I was wondering, how does the picaxe store numbers internally? For the "pause" command, for instance:
Pause 5 = adds 1 byte to code
Pause 16 = adds 2 bytes to code
pause 255 = adds 2 bytes of code
pause 256 = adds 3 bytes of code
pause 65000 = adds 3 bytes to code
I was thinking it stores everything as 4-bit nybbles, but that doesn't seem to add up. hmm...any thoughts?
Pause 5 = adds 1 byte to code
Pause 16 = adds 2 bytes to code
pause 255 = adds 2 bytes of code
pause 256 = adds 3 bytes of code
pause 65000 = adds 3 bytes to code
I was thinking it stores everything as 4-bit nybbles, but that doesn't seem to add up. hmm...any thoughts?