This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:papc:chapter_6_3 [2025/12/19 13:02] – [ZMM registers] ktokarz | en:multiasm:papc:chapter_6_3 [2025/12/22 09:34] (current) – [x86 registers] ktokarz | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| <figure gpregistresx86> | <figure gpregistresx86> | ||
| {{ : | {{ : | ||
| - | < | + | < |
| </ | </ | ||
| Line 23: | Line 23: | ||
| <figure spregistresx86> | <figure spregistresx86> | ||
| - | {{ : | + | {{ : |
| < | < | ||
| </ | </ | ||
| Line 37: | Line 37: | ||
| * CF - Carry flag, set if an operation generates a carry or borrow; for example, if the result of an addition is larger than 16 bits. Used for unsigned arguments. | * CF - Carry flag, set if an operation generates a carry or borrow; for example, if the result of an addition is larger than 16 bits. Used for unsigned arguments. | ||
| * PF - Parity flag, set if the result of an operation contains an even number of bits equal to " | * PF - Parity flag, set if the result of an operation contains an even number of bits equal to " | ||
| - | * AF - Auxiliary Carry flag, similar to CF but informs about the carry or borrow from 3th to the 4th bit. It is used for BCD calculations. | + | * AF - Auxiliary Carry flag, similar to CF but informs about the carry or borrow from the 3rd to the 4th bit. It is used for BCD calculations. |
| * ZF - Zero flag, set if the result of an operation is zero. | * ZF - Zero flag, set if the result of an operation is zero. | ||
| - | * SF - Sign flag, it is a copy of the most significant bit of the result | + | * SF - Sign flag, it is a copy of the most significant bit of the result. |
| * OF - Overflow flag, set if the result of an operation is too large or small to fit in the destination operand. Used for signed arguments. | * OF - Overflow flag, set if the result of an operation is too large or small to fit in the destination operand. Used for signed arguments. | ||