38
3.1 Guide to This Chapter
Chapter 3 Functions
The following explains the syntax of each jump instruction—JMP, JPMI, JSR, and JSRI by using an actual
example.
(3) Syntax
Indicates the instruction syntax using a symbol.
(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).
JuMP
Unconditional jump
JMP (.length) label
S, B, W, A
(d)
[ Syntax ]
JMP (.length) label
JMP
S, B, W, A (Can be specified)
(2)
(3)
(1)
3.2 Functions
Chapter 3 Functions
JMP
[ Instruction Code/Number of Cycles ]
Page=183
Содержание R8C/Tiny Series
Страница 50: ...Chapter 3 Functions 3 1 Guide to This Chapter 3 2 Functions...
Страница 151: ...134 Chapter 3 Functions 3 2 Functions Blank for page layout...
Страница 152: ...Chapter 4 Instruction Code Number of Cycles 4 1 Guide to This Chapter 4 2 Instruction Code Number of Cycles...
Страница 278: ...Chapter 6 Calculation Number of Cycles 6 1 Instruction queue buffer...
Страница 287: ...Glossary 1 Glossary Technical terms used in this software manual are explained below They are good in this manual only...
Страница 291: ...Symbol 1 Table of symbols Symbols used in this software manual are explained below They are good in this manual only...
Страница 295: ...REVISION HISTORY R8C Tiny Series SOFTWARE MANUAL Rev Date Description Page Summary B 1 1 00 Jun 19 03 First Edition...
Страница 297: ...R8C Tiny Series Software Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...