1/20/2023 0 Comments Pushf instruction crash![]() ![]() Pushes the flags register onto the top of the stack: pushfw For a long, SP - 4 and copies EFLAGS to the new top of stack pointed to by SS:eSP. Pops the long from the top of the stack and stores it in the eflags register: popfl Push Flag Register Onto Stack ( pushf)įor a word, SP - 2 and copies FLAGS to the new top of stack pointed to by SP. Pops the word from the top of the stack and stores it in the flags register: popfw Stores a word in FLAGS stores a long in EFLAGS. Pops the word or long from the top of the stack and stores the value in the flags register. ![]() Load values from the AH register into the flags word: sahf Pop Stack into Flag ( popf) popf Operation Loads flags (sign, zero, indeterminate, auxiliary carry, indeterminate, parity, indeterminate, and carry) with values from the AH register. Transfer the flags word into the AH register: lahf Store AH into Flags (sahf) sahf OperationĪH -> SF:ZF:xx:AF:xx:PF:xx:CF Description The bits (lsb to msb) are: sign, zero, indeterminate, auxiliary carry, indeterminate, parity, indeterminate, and carry. Transfers the low byte of the flags word to the AH register. SF:ZF:xx:AF:xx:PF:xx:CF -> AH Description ![]() Flag Instructions Load Flags into AH Register (lahf) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |