
2-11
CPU
2.4.2
Data Types
Data types can be processed in the four types of bit, byte, halfword and word data. Byte data, halfword data and
word data can be handled as signed and unsigned data. The sign bit is MSB.
The data in the memory must be aligned data. In other words, the two bits on the LSB side of addresses containing
word data must be "00" (addresses which are a multiple of 4), and the LSB of addresses containing halfword data
must be "0" (addresses which are a multiple of 2).
Byte and bit placement conforms with the Little Endian format. Therefore, the address of the byte data on the MSB
side of halfword data is the LSB side byte data a 1,and the address of the byte data on the MSB side of word
data is the LSB side byte data a 3. The bit number for bit data starts at 0 on the LSB and increases towards
the MSB.
(1) Bit data
(2) Byte data
Unsigned 8-bit
Signed 8-bit
(sign bit: MSB)
(3) Halfword data
Unsigned 16-bit
Signed 16-bit
(sign bit: MSB)
(4) Word data
Unsigned 32-bit
Signed 32-bit
(sign bit: MSB)
Table 2-4-2 Data Types
Fig. 2-4-1 Little Endian Format
MSB
LSB
Address in the memory
Word data
Bit No.
31
24
23
16
15
8
7
0
4n
4n+1
4n+2
4n+3
Most significant byte
Least significant byte
Upper halfword
Lower halfword
Halfword data
Most significant byte Least significant byte
Byte data
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...