1121219165@lemmy.zip to Programmer Humor@programming.dev · 5 days agoHome Sweet Homelemmy.zipexternal-linkmessage-square96linkfedilinkarrow-up1692arrow-down123
arrow-up1669arrow-down1external-linkHome Sweet Homelemmy.zip1121219165@lemmy.zip to Programmer Humor@programming.dev · 5 days agomessage-square96linkfedilink
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up2·5 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·5 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!!