Renesas R8C/Tiny Series Software Manual page 56

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 3 Functions
The syntax of the jump instructions JMP, JPMI, JSR, and JSRI are illustrated below by example .
Chapter 3 Functions
JMP
(1)
(2)
[ Syntax ]
(3)
JMP (.length) label
(3) Syntax
Indicates the instruction syntax using symbols.
JMP (.length) label
(a)
(b)
(c)
(a) Mnemonic
Shows the mnemonic.
(b) Jump distance specifier
Shows the distance of the jump. If (.length) is omitted from the JMP or JSR instruction, the assem-
bler chooses the optimum specifier. If (.length) is entered, its content is given priority.
The following jump distances may be specified:
.S
3-bit PC forward relative (+2 to +9)
.B
8-bit PC relative
.W
16-bit PC relative
.A
20-bit absolute
(c) Operand
Shows the operand.
(d) Shows the jump distances that can be specified in (b).
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
JMP
.length
label
page 38 of 263
Unconditional jump
JuMP
[ Instruction Code/Number of Cycles ]
S, B, W, A (Can be specified)
(d)
S, B, W, A
3.1 Guide to This Chapter
3.2 Functions
JMP
Page: 183

Advertisement

Table of Contents
loading

Table of Contents