News for hackers. Stuff that matters.
Re:KolibriOS – operating system written entirely in assembly... by jdsully on Wednesday April 15, 2020 @12:54AM (#22874650)
Actually it does.

BSF (Bit Scan Forward) is the most famous which returns an undefined result if your operand is 0.

Many instructions leave the state of bits in the FLAGs register undefined. E.g. AAA will leave SF,ZF, and PF undefined.

Then of course there is the “reserved bits” but those are easier to avoid.

There are no comments on this comment yet.