Quote:
Originally Posted by Rumil12
It not the launcher that calls it, its the game itself.
|
I got so fking agro and cross eyed from staring at that sht all day! so I am taking a break for a day or 2
some help here please:
"SIGNED AND UNSIGNED
A signed variable can have half of its values positive, and the other half negative. How do we know if a value is signed or not? This all depends on how the value is read/written by opcodes.
Let me show you an example:
0x7F (maximum positive value of a signed byte) = 127
Nothing changed here. However:
0xFF = -1
Now I’ve got you confused. You see, while 0x7F is the highest positive value, the value right after which is 0x80 is the lowest negative value.
0x7F = +127
0x80 = -128
An unsigned byte (which is a normal byte) can have values from 0-255 (x00-xFF).
Let’s to it with 0x9B
255+1 =256
0x9B – 256 = 155 – 256 = -101
a signed 0x9B = -101, an unsigned 0x9B = 155
Remember that the value will only be negative if it exceeds half of its maximum value."
so for the 0xff = -1 the lowest negative value just jumps to the next 0x ? like I see that 0x01 is the next value after 0xff seeing that 0xff is the highest value(255).
and if 0x9b is really 155 (unsigned) then where in that equasion does the 255+1=256 come in 0-o
I do understand the basic math to this :
$00 × 16
3 = 0 × 4096 = 0
$02 × 16
2 = 2 × 256 = 512
$0A × 16
1 = 10 × 16 = 160
$07 × 16
0 = 7 × 1 = 7
0 + 512 + 160 + 7 = 679
0x02A7 = 679
I am also having a few problems with operands. I am posative I will understand them better after I study a lil more than 1 day.