0
35kviews
Explain the difference between RET and RETI instructions as implemented in 8051 architecture.
1 Answer
| written 7.2 years ago by |
RET is used to return from a subroutine previously called by LCALL or ACALL. Program execution continues at the address that is calculated by the topmost two bytes off the stack. The most-significant-byte is popped off the stack first, followed by the least-significant-byte. Addresses of RET is loaded from the …