Renesas R8C/Tiny Series Software Manual page 31

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 1 Overview
(1) Bit Specification by Bit, Base
Figure 1.7.5 shows the relationship between the memory map and the bit map.
Memory bits can be handled as an array of consecutive bits. Bits can be specified by a combination of
bit and base. Using bit 0 of the address that is set in base as the reference (= 0), set the desired bit
position in bit. Figure 1.7.6 shows examples of how to specify bit 2 of address 0000A
Address
b7
0
n-1
n
n+1
Memory map
Figure 1.7.5 Relationship between Memory Map and Bit Map
BSET
2,AH
;
BSET
10,9H
;
BSET
18,8H
;
BSET
82,0H
;
Figure 1.7.6 Examples of How to Specify Bit 2 of Address 0000A
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
b0
n+1
nÅ{1
b7
Address 0000A
16
b7
b2
b0
Address 00009
b15
b10 b8b7
b23
b18 b16b15
b87
b82 b80b79
page 13 of 263
n
n–1
n
nÅ|1
b0b7
b0b7
Bit map
16
b0
Address 00008
16
b8b7
b0
Address 00000
b72
b7
16
1.7 Data Types
.
16
0
b0
b7
These specifica-
tion examples all
specify bit 2 of
address 0000A
16
b0
b0
.
16

Advertisement

Table of Contents
loading

Table of Contents