Status Register Flags: Z, N, C, V

Exercises each flag one step at a time. sub r4,r4 produces 0 (Z=1, C=1). 0xFFFF + 1 wraps to 0 (Z=1, C=1). 0x7FFF + 1 flips the sign (N=1, V=1, signed overflow).

What to watch as you step

Open this example