Slide 7.4: Implementing arithmetic expressions
Slide 7.6: Flags affected by addition and subtraction (cont.)
Home

Flags Affected by Addition and Subtraction


The IA-32 provides instructions that are able to use the status flags to The flag values below can be found from the command call DumpRegs: The CPU does not know whether an arithmetic operation is signed or unsigned. The programmers decide whether the operation is signed or unsigned and which flags to interpret and which to ignore.