Sunday 4 March 2018

Flags Representations in MASM


     FLAGS         SET (a 1-bit      CLEARed (a 0-bit)
 ---------------   --------------- -------------------
 Overflow of  =    OV (OVerflow)   NV [No oVerflow]

 Direction   df  = DN (decrement)  UP (increment)

Interrupt   if  =  EI  (enabled)   DI (disabled)


 Sign   sf  =NG (negative)   PL (positive)

 Zero   zf  =      ZR   [zero]     NZ  [ Not zero]

Auxiliary Carry af = AC             NA  [ No AC ]

 Parity   pf  =    PE  (even)      PO  (odd)

 Carry   cf  =     CY  [Carry]     NC  [ No Carry]

0 comments:

Post a Comment