Next Next - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

INSTRUCTION SET
NEXT
— Next
NEXT
PC ← @ IP
Operation:
IP ← IP + 2
The NEXT instruction is useful when implementing threaded-code languages. The program
memory word that is pointed to by the instruction pointer is loaded into the program counter. The
instruction pointer is then incremented by two.
Flags:
No flags are affected.
Format:
opc
Example:
The following diagram shows one example of how to use the NEXT instruction.
Address
Data
0043
IP
0120
PC
6-60
Before
Address
Data
Data
43
Address H
01
44
Address L
10
45
Address H
120
Next
Memory
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
Bytes
Cycles
1
10
After
Address
Data
0045
IP
0130
PC
Opcode
(Hex)
0F
Address
Data
43
Address H
44
Address L
45
Address H
130
Routine
Memory

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents