Download USER`S MANUAL ERRATA
Transcript
INSTRUCTION SET S3C80A4/C80A8/C80A5/C80B4/C80B8/C80B5 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) 1 10 0F opc Example: The following diagram shows one example of how to use the NEXT instruction. Before Address IP After Data Address 0043 IP Address PC 0120 43 44 45 120 Data Address H 01 Address L 10 Address H Next Memory 6-60 Data 0045 Address PC 0130 43 44 45 130 Data Address H Address L Address H Routine Memory