Difference between revisions of "Assembler:Commands:POPF"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Assembler]] | ||
'''command''' popf | '''command''' popf | ||
− | [[Assembler:Commands:POP|POP]]s ( | + | [[Assembler:Commands:POP|POP]]s (restores) the FLAGS register (16 bit) from the stack. |
Used to restore state after a call to [[Assembler:Commands:PUSHF|PUSHF]]. | Used to restore state after a call to [[Assembler:Commands:PUSHF|PUSHF]]. | ||
+ | |||
+ | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | ||
Increments the stack pointer and stores the value in the FLAGS register. | Increments the stack pointer and stores the value in the FLAGS register. | ||
− | + | [http://c9x.me/x86/html/file_module_x86_id_250.html c9x.me/x86/html/file_module_x86_id_250.html] | |
− | + | </div> | |
+ | |||
+ | |||
+ | {{AssemblerCommandParametersNone}} | ||
== Examples == | == Examples == | ||
popf | popf | ||
− | + | {{AssemblerCommandSeeAlso}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{Template:AssemblerCommandExternalLinks}} | |
− | |||
− | |||
− |
Latest revision as of 16:00, 3 January 2018
command popf
POPs (restores) the FLAGS register (16 bit) from the stack.
Used to restore state after a call to PUSHF.
Increments the stack pointer and stores the value in the FLAGS register.
Command Parameters[edit]
<none>
Examples[edit]
popf