Retb return from breakpoint – Zilog Z80380 User Manual

Page 175

Advertising
background image

5-141

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

RETB

RETURN FROM BREAKPOINT

Operation:

PC (31-0)

SPC (31-0)

This instruction is used to return to a previously executing procedure at the end of a
breakpoint. The contents of the Shadow Program Counter (SPC), which holds the address
of the next instruction of the previously executing procedure, are loaded into the Program
Counter (PC).

Note that maskable interrupts (if IEF1 is set) and non-maskable interrupt are enabled after
the instruction following RETB is executed.

Flags:

S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

RETB

11101101 01010101

2

Advertising