1121219165@lemmy.zip to Programmer Humor@programming.dev · 11 days agoHome Sweet Homelemmy.zipimagemessage-square101linkfedilinkarrow-up1708arrow-down124
arrow-up1684arrow-down1imageHome Sweet Homelemmy.zip1121219165@lemmy.zip to Programmer Humor@programming.dev · 11 days agomessage-square101linkfedilink
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up2·11 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·11 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!!