EasyManuals Logo

Renesas H8 Series Hardware Manual

Renesas H8 Series
697 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #112 background imageLoading...
Page #112 background image
Section 2 CPU
Rev. 7.00 Mar 10, 2005 page 70 of 652
REJ09B0042-0700
To avoid this problem, store a copy of the PDR3 data in a work area in memory. Perform the bit
manipulation on the data in the work area, then write this data to PDR3.
[A: Prior to executing BSET]
MOV. B #80, R0L The PDR3 value (H'80) is written to a work area in memory
MOV. B R0L, @RAM0 (RAM0) as well as to PDR3
MOV. B R0L, @PDR3
P3
7
P3
6
P3
5
P3
4
P3
3
P3
2
P3
1
P3
0
Input/output Input Input Output Output Output Output Output Output
Pin state Low level High level Low level Low level Low level Low level Low level Low level
PCR300111111
PDR310000000
RAM010000000
[B: BSET instruction executed]
BSET #0 , @RAM0 The BSET instruction is executed designating the PDR3
work area (RAM0).
[C: After executing BSET]
MOV. B @RAM0, R0L The work area (RAM0) value is written to PDR3.
MOV. B R0L, @PDR3
P3
7
P3
6
P3
5
P3
4
P3
3
P3
2
P3
1
P3
0
Input/output Input Input Output Output Output Output Output Output
Pin state Low level High level Low level Low level Low level Low level Low level High level
PCR300111111
PDR310000001
RAM010000001

Table of Contents

Other manuals for Renesas H8 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas H8 Series and is the answer not in the manual?

Renesas H8 Series Specifications

General IconGeneral
BrandRenesas
ModelH8 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals