Samsung S3C8275X User Manual Page 194

  • Download
  • Add to my manuals
  • Print
  • Page
    / 324
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 193
INSTRUCTION SET S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
6-60
NEXT Next
NEXT
Operation: 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: The following diagram shows one example of 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
Page view 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 323 324

Comments to this Manuals

No comments