beautypg.com

Zilog Z8F0130 User Manual

Page 223

background image

eZ8

CPU Core

User Manual

UM012820-0810

RET Instruction

208

Attributes

Sample Usage

If Stack Pointer contains the value

01A0h

, register memory location

01A0h

contains the value

30h

and location

01A1h

contains the value

15h

, the following statement leaves the value

01A2h

in the SP, and the

PC contains the value

3015h

, the address of the next instruction to be

executed.

RET

Object Code: AF

Mnemonic

Destination,
Source

Op
Code
(Hex)

Operand 1 Operand 2 Operand 3

RET

AF