Renesas R8C/Tiny Series Software Manual page 55

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

Advertisement

Chapter 3 Functions
The following explains the syntax of each jump instruction—JMP, JPMI, JSR, and JSRI by using an actual
example.
Chapter 3 Functions
JMP
(1)
(2)
[ Syntax ]
(3)
JMP (.length) label
(3) Syntax
Indicates the instruction syntax using a symbol.
JMP (.length) label
(a)
(b)
(c)
(a) Mnemonic JMP
Describes the mnemonic.
(b) Jump distance specifier .length
Describes the distance of jump. If (.length) is omitted in JMP or JSR instruction, the assembler
chooses the optimum specifier. If (.length) is entered, its content is given priority.
The following lists the jump distances that can 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 label
Describes the operand.
(d) Shows the jump distance that can be specified in (b).
Unconditional jump
JuMP
[ Instruction Code/Number of Cycles ]
S, B, W, A (Can be specified)
(d)
S, B, W, A
38
3.1 Guide to This Chapter
3.2 Functions
JMP
Page=183

Advertisement

Table of Contents
loading

Table of Contents