Unsigned 8-Bit Transfer (Memory → Register); Signed 8-Bit Transfer (Memory → Register); 8-Bit Transfer (Register → Memory); 16-Bit Transfer (Memory → Register) - Epson S1C17 Series Manual

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

Advertisement

3.2.1 Unsigned 8-Bit Transfer (Memory → Register)
Example: ld.ub
%rd,[%rb]
%rd
Bits 23–8 in the destination register are set to 0x0000.
3.2.2 Signed 8-Bit Transfer (Memory → Register)
Example: ld.b
%rd,[%rb]
%rd
Bits 15–8 in the destination register are sign-extended and bits 23–16 are set to 0x00.
3.2.3 8-Bit Transfer (Register → Memory)
Example: ld.b
[%rb],%rs
%rs
3.2.4 16-Bit Transfer (Memory → Register)
Example: ld
%rd,[%rb]
[%rb] 0b*****0
Bits 23–16 in the destination register are set to 0x00.
S1C17 CORE MANUAL
(Rev. 1.2)
0
23
16 15
0
0
0
0
0
0
0
0
0
Figure 3.2.1.1 Unsigned 8-Bit Transfer (Memory → Register)
0
23
16
15
0
0
0
0
0
0
0
0
S
Figure 3.2.2.1 Signed 8-Bit Transfer (Memory → Register)
23
16
15
X
Figure 3.2.3.1 8-Bit Transfer (Register → Memory)
7
0b*****1
Byte 1
Byte 0
0
23
%rd
0
0
0
0
0
0
Figure 3.2.4.1 16-Bit Transfer (Memory → Register)
Seiko Epson Corporation
7
[%rb]
8
7
0
0
0
0
0
0
0
7
S
[%rb]
8
7
S
S
S
S
S
S
S
S
8
7
X
7
[%rb]
0
16 15
8
0
0
Byte 1
3 DATA FORMATS
0
Byte
0
Byte
0
Byte
0
Byte
0
Byte
0
Byte
7
0
Byte 0
3-3

Advertisement

Table of Contents
loading

Table of Contents