Global c:Byte = $55
Print Hex(c)
Print Byte(Hex(c & $FF))
c = ~c
Print Hex(c)
Print Byte(Hex(c & $FF))
ANS:
00000055
55
000000AA
0
I dont understand why the 000000AA has become 0? OK $AA has top bit set makes it negative? HELP!
Print Hex(c)
Print Byte(Hex(c & $FF))
c = ~c
Print Hex(c)
Print Byte(Hex(c & $FF))
ANS:
00000055
55
000000AA
0
I dont understand why the 000000AA has become 0? OK $AA has top bit set makes it negative? HELP!