RTS RTS Return from subroutine RTS
Operation: PC from Stack, PC + 1 -> PC N V - B D I Z C
. . . . . . . .
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Implied/Stack | RTS | $60 | 1 | 6 |
+----------------+-----------------------+---------+---------+----------+
See also: RTL
4510 Versions:
Operation: PC <- Stack + N, SP <- SP + 2 + N N V - B D I Z C
. . . . . . . .
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Implied/Stack | RTS | $60 | 1 | 6m |
| Immediate | RTS #$FF | $62 | 2 | 4 |
+----------------+-----------------------+---------+---------+----------+
m Subtract non-bus cycles when at 40 MHz