Posts

CALL

  Opcode Operand Description CALL 16-bit address Call unconditionally     —    The  program  sequence is  transferred  to  the   memory location specified by the  1 6-bit address  given  in the operand. —    Before   the   transfer,   the   address   of   the   next   instruction   after CALL (the  contents  of the  program counter)  is pushed   onto  the   stack. —    Example:  CALL 2 03 4   H.

JX- JC, JNC, JP, JM, JZ, JNZ, JPE, JPO

  Opcode Operand Description Jx 16-bit address Jump conditionally     —    The  program  sequence is  transferred  to  the   memory location specified  by  the  16 -bit address  given  in the  operand  based on the specified  flag  of the   PSW. —    Example:  JZ 20 3 4   H. Opcode Description Status Flags JC Jump if Carry CY = 1 JNC Jump if No Carry CY = 0 JP Jump if Positive S = 0 JM Jump if Minus S = 1 JZ Jump if Zero Z = 1 JNZ Jump if No Zero Z = 0 JPE Jump if Parity Even P = 1 JPO Jump if Parity Odd P = 0

JMP

  Opcode Operand Description JMP 16-bit address Jump unconditionally     —    The  program  sequence is  transferred  to  the   memory location specified  by  the  16 -bit address  given  in the operand. —    Example:  JMP 2 03 4   H.

STC

  Opcode Operand Description STC None Set carry     —    The Carry  flag  is set  to   1. —    No  other  flags  are   affected. —    Example:   STC.

CMC

  Opcode Operand Description CMC None Complement carry     —    The Carry  flag  is   complemented. —    No  other  flags  are   affected. —    Example:   CMC.

CMA

  Opcode Operand Description CMA None Complement accumulator     —    The   contents   of   the   accumulator   are   complemented. —    No  flags  are   affected. —    Example:   CMA.

RAR

  Opcode Operand Description RAR None Rotate accumulator right through carry     —    Each  binary bit of the accumulator is  rotated  right by   one position through the Carry   flag. —    Bit D0 is placed in the Carry flag, and the Carry flag is placed   in the most significant position D7. —    CY is modified according to bit   D0. —    S, Z,  P,  AC  are not   affected. —    Example:   RAR.