Restart is a special type of call instruction in which
Answers
Answered by
2
The 8085 microprocessor has two instructions to implement subroutines: CALL (call a subroutine), and RET (return to main program from a subroutine).
When a Subroutine is called, the contents of the program counter, which is the address of the instruction following the CALL instruction, is stored on the stack and the program execution is transferred to the subroutine address.
Following operations are performed by the microprocessor when CALL is executed:
1. First Saves the contents of the program counter (the address of next instruction) on the stack.
2. Then Decrements the stack pointer register by two.
i hope help you
When a Subroutine is called, the contents of the program counter, which is the address of the instruction following the CALL instruction, is stored on the stack and the program execution is transferred to the subroutine address.
Following operations are performed by the microprocessor when CALL is executed:
1. First Saves the contents of the program counter (the address of next instruction) on the stack.
2. Then Decrements the stack pointer register by two.
i hope help you
Answered by
0
Answer:
Microprocessor8085. In 8085 Instruction set, RSTn is actually standing for “Restart n”. And in this case, n has a value from 0 to 7 only. Thus the eight possible RST instructions are there, e.g. RST 0, RST 1, …, RST 7
Similar questions