3
DATA FORMATS
14
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
3
.
3
Unsigned
8
-Bit Transfer (Memory
→
Register)
Example:
ld.ub
%rd
,[
%rb
]
[
%rb
]
Byte
7
0
0
0
0
0
0
0
0
0
31
24 23
16 15
8
Byte
7
0
0
%rd
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure
3
.
3
.
1
Unsigned
8
-Bit Transfer (Memory
→
Register)
Bits
31
–
8
in the destination register are zero-extended.
3
.
4
Signed
8
-Bit Transfer (Memory
→
Register)
Example:
ld.b
%rd
,[
%rb
]
[
%rb
]
7
0
S
S
S
S
S
S
S
S
31
24 23
16 15
8
Byte
7
0
%rd
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
Byte
Figure
3
.
4
.
1
Signed
8
-Bit Transfer (Memory
→
Register)
Bits
31
–
8
in the destination register are sign-extended.
3
.
5
8
-Bit Transfer (Register
→
Memory)
Example:
ld.b [
%rb
],
%rs
X
%rs
31
24
X
23
16
X
15
8
Byte
7
0
Byte
7
0
[
%rb
]
Figure
3
.
5
.
1
8
-Bit Transfer (Register
→
Memory)
3
.
6
Unsigned
16
-Bit Transfer (Register
→
Register)
Example:
ld.uh
%rd
,
%rs
X
%rs
31
16 15
Halfword
0
0
0
0
0
0
0
0
0
31
16 15
Halfword
0
0
%rd
0
0
0
0
0
0
0
0
Figure
3
.
6
.
1
Unsigned
16
-Bit Transfer (Register
→
Register)
Bits
31
–
16
in the destination register are zero-extended.