
13
Chapter 1 Overview
0
n-1
n
n+1
nÅ{1 n nÅ|1 0
b7 b0b7 b0b7 b0 b7 b0
b7 b0
BSET 2,AH ;
b7 b2 b0
b15 b10 b8b7 b0
b87 b82 b80b79 b72 b7 b0
b23 b18 b16b15 b8b7 b0
BSET 10,9H ;
BSET 18,8H ;
BSET 82,0H ;
Address 0000916
These specifica-
tion examples all
specify bit 2 of
address 0000A
16.
Address 00000
16
Address 0000816
Address 0000A16
1.7 Data Types
Figure 1.7.6 Examples of how to specify bit 2 of address 0000A16
(1) Bit specification by bit, base
Figure 1.7.5 shows the relationship between memory map and bit map.
Memory bits can be handled as an array of consecutive bits. Bits can be specified by a given combina-
tion of bit and base. Using bit 0 of the address that is set to base as the reference (= 0), set the desired
bit position to bit. Figure 1.7.6 shows examples of how to specify bit 2 of address 0000A
16.
Bit map
Memory map
Address
n+1 n n–1
Figure 1.7.5 Relationship between memory map and bit map
Comentarios a estos manuales