
Programming
2-9
n
Pointer—A 16-bit or 32-bit quantity, composed of a 16-bit offset component or a 16-bit
segment base component in addition to a 16-bit offset component.
n
String—A contiguous sequence of bytes or words. A string can contain from 1 byte up
to 64 Kbytes.
In general, individual data elements must fit within defined segment limits. Figure 2-5
graphically represents the data types supported by the Am186ES and Am188ES
microcontrollers.
Figure 2-5
Supported Data Types
7 0
Signed
Byte
Magnitude
Magnitude
7 0
MSB
Unsigned
Byte
Signed
Word
Magnitude
MSB
+1
0
Magnitude
MSB
+3
+2
+1
0
Signed
Quad
Word
Magnitude
MSB
63 48 47 32 31 16 15 0
Unsigned
Word
Magnitude
MSB
+1
0
7 0
7 0
7 0
+N
+1
0
. . .
7 0
7 0
7 0
+N
+1
0
. . .
7 0
7 0
7 0
+N
+1
0
. . .
Binary
Coded
Decimal
(BCD)
BCD
Digit N
BCD
Digit 1
BCD
Digit 0
ASCII
Character
N
ASCII
Character
1
ASCII
Character
0
ASCII
Most Significant
Digit
Least
Significant Digit
Packed
BCD
7 0 7 0
+N
+1
0
. . .
Byte/WordN
Byte/Word1 Byte/Word0
String
+3
+2
+1
0
Segment Base
Offset
Pointer
31 1615 0
0
15
+3
+2
+1
+6
+5
+4
+0
+7
15 14
8 7
0
7
0
Signed
Double
Word
Sign Bit
Sign Bit
Sign Bit
Sign Bit
Содержание Am186 ES
Страница 1: ...Am186 ES and Am188 ES User s Manual...
Страница 4: ...iv...
Страница 12: ...Table of Contents xii...
Страница 22: ...Features and Performance 1 8...
Страница 60: ...System Overview 3 28...
Страница 84: ...Chip Select Unit 5 14...
Страница 132: ...Timer Control Unit 8 8...
Страница 166: ...Programmable I O Pins 11 6...
Страница 184: ...Register Summary A 18...