POP - Pop Value From Stack |
Description: The POP instruction pops or retrieves the last stacked or stored data from the internal RAM. The RAM address is the current address of stack pointer. Stack pointer is decremented by one. |
Syntax: POP |
Example: POP |
PUSH - Push Value into Stack |
Description: The PUSH instruction pushes or stores the data into the internal RAM. The specified RAM address is address of stack pointer plus one. |
Syntax: PUSH |
Example: PUSH |
RET - Return from Subroutine. |
Description: The RET instruction used at the end of subroutine called by LCALL or ACALL instruction. This instruction indicates the end of subroutine. |
Syntax: RET |
Example: RET |
RETI - Return from Interrupt Subroutine. |
Description: The RETI instruction used at the end of subroutine called by Interrupt Service Routine. This instruction indicates the end of ISR. |
Syntax: RETI |
Example: RETI |
RL – Rotate Accumulator Left. |
Description: The RL instruction used to rotate the content of accumulator to left by one bit. |
Syntax: RL |
Example: |
RLC – Rotate Accumulator Left with Carry. |
Description: The RLC instruction used to rotate the content of accumulator by one bit to left including the content of Carry Flag. |
Syntax: RLC |
Example: |
RR – Rotate Accumulator Right. |
Description: The RR instruction used to rotate the content of accumulator to right by one bit. |
Syntax: RR |
Example: |
RRC – Rotate Accumulator Right with Carry. |
Description: The RRC instruction used to rotate the content of accumulator to right by one bit with content of Cary Flag. |
Syntax: RRC |
Example: RRC |
No comments:
Post a Comment