Push Flags onto Stack                            

86/88

Y

186

Y

286

Y

386

Y

486

Y

PUSHF/PUSHFD

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    PUSHF decrements SP by 2, then transfers the flags register to the new
    top of stack.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             386     286     86
9C              PUSHF                   4       3       10
9C              PUSHFD                  4

------------------------------------ Logic -----------------------------------

        SP = SP - 2
        (SP) = Flags

See Also POPF PUSH POP PUSHA POPA LAHF SAHF INT IRET


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .