EasyManua.ls Logo

Samsung S3F84B8 - NEXT - Next

Samsung S3F84B8
322 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S3F84B8_UM_REV 1.00 6 INSTRUCTION SET
6-59
6.3.46 NEXT — NEXT
NEXT
Opera
tion: PC @ IP
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:
Bytes Cycles Opcode
(Hex)
opc 1 10 0F
Example: Figure 6-5
shows an example about how to use the NEXT instruction.
Data
01
10
Before After
0045
IP
Address Data
0130
PC
43
44
45
Address H
Address L
Address H
Address Data
Memory
130 Routine
0043
IP
Address Data
0120
PC
43
44
45
Address H
Address L
Address H
Address Data
Memory
120 Next
Figure 6-5 Example of the Usage of the NEXT Instruction

Table of Contents

Other manuals for Samsung S3F84B8

Related product manuals