Epson S1C17 Series Manual page 40

Cmos 16-bit single chip microcontroller
Hide thumbs Also See for S1C17 Series:
Table of Contents

Advertisement

5 INSTRUCTION SET
When extended by one ext instruction
ext
imm13
Functions as "jr* sign21" (sign21 = {imm13, sign7, 0})
jr*
sign7
The imm13 specified by the ext instruction is extended as the 13 high-order bits of sign21.
sign21
PC
PC
The range of addresses to which jumped is (PC - 1,048,574) to (PC + 1,048,576).
ext
imm13
Functions as "jpr sign24" (sign24 = {imm13, sign10, 0})
jpr
sign10
The imm13 specified by the ext instruction is extended as the 13 high-order bits of sign24.
sign24
PC
PC
The range of addresses to which jumped is (PC - 8,388,606) to (PC + 8,388,608).
When extended by two ext instructions
ext
imm13
ext
imm13'
Functions as "jr*
jr*
sign7
The imm13 specified by the first ext instruction is effective for only 3 bits, from bit 2 to bit 0 (with the 10
high-order bits ignored), so that sign24 is configured as follows:
sign24 = {imm13(2:0), imm13', sign7, 0}
sign24
PC
PC
The range of addresses to which jumped is (PC - 8,388,606) to (PC + 8,388,608).
The above range of addresses to which jumped is a theoretical value, and is actually limited by the range of
memory areas used.
5-18
23
21
20
S S S
S
imm13
Current address
Branch destination address
23
S
imm13
Current address
Branch destination address
sign24"
23
21 20
S
imm13'
imm13(2:0)
Current address
Branch destination address
Seiko Epson Corporation
8 7
sign7
+
2
+
11 10
sign10
+
2
+
8 7
sign7
+
2
+
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
S1C17 CORE MANUAL
(REV. 1.2)

Advertisement

Table of Contents
loading

Table of Contents