EasyManua.ls Logo

Rabbit 2000 - Page 116

Rabbit 2000
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
112 Rabbit 2000/3000 Microprocessor
Description
RET transfers execution from a subroutine to the program that called it. First it loads the low order byte of PC
with the data at the memory address in SP then loads the high order byte of PC with the data at the memory
address immediately following the one held in SP. The data in SP is then incremented twice.
RET
Opcode Instruction Clocks Operation
C9 RET 8 (2,1,2,2,1) PC
(low)
= (SP); PC
(high)
= (SP + 1);
SP = SP + 2
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -

Other manuals for Rabbit 2000