beautypg.com

Maxim Integrated DS4830 Optical Microcontroller User Manual

Page 211

background image

DS4830 User’s Guide

211




RETI Z
Operation:

Z=1: IP  @SP--

INS 0

Z=0: IP  IP + 1


Encoding:

15

0

1001

1100

1000

1101


Example(s):

RETI Z

; Z=0, return from interrupt (RETI) does not occur



RETI NZ
Operation:

Z=0: IP  @SP--

INS 0

Z=1: IP  IP + 1


Encoding:

15

0

1101

1100

1000

1101


Example(s):

RETI NZ

; Z=0, return from interrupt (RETI) is performed




RETI S
Operation:

S=1: IP  @SP--

INS 0

S=0: IP  IP + 1


Encoding:

15

0

1100

1100

1000

1101


Example(s):

RETI S

; S=0, return from interrupt (RETI) does not occur