1121219165@lemmy.zip to Programmer Humor@programming.dev · 1 day agoHome Sweet Homelemmy.zipexternal-linkmessage-square68linkfedilinkarrow-up1574arrow-down120
arrow-up1554arrow-down1external-linkHome Sweet Homelemmy.zip1121219165@lemmy.zip to Programmer Humor@programming.dev · 1 day agomessage-square68linkfedilink
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up2·14 hours 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·13 hours 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!!