1121219165@lemmy.zip to Programmer Humor@programming.dev · 8 days agoHome Sweet Homelemmy.zipimagemessage-square99linkfedilinkarrow-up1705arrow-down124
arrow-up1681arrow-down1imageHome Sweet Homelemmy.zip1121219165@lemmy.zip to Programmer Humor@programming.dev · 8 days agomessage-square99linkfedilink
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up2·8 days agoAh, but if it’s an 8-bit signed number, then 01111111 is actually “-1”. This is a lot more fun.
minus-squareSparroHawc@piefed.worldlinkfedilinkEnglisharrow-up1·8 days agoBut… but then you’re mixing signed and unsigned numbers in the same address! Panic! Human sacrifice! Dogs and cats living together! MASS HYSTERIA!!
Ah, but if it’s an 8-bit signed number, then 01111111 is actually “-1”. This is a lot more fun.
But… but then you’re mixing signed and unsigned numbers in the same address! Panic! Human sacrifice! Dogs and cats living together! MASS HYSTERIA!!