Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPD17P136ACT Datasheet(PDF) 90 Page - NEC

Part # UPD17P136ACT
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT Datasheet(HTML) 90 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 86Page - NEC UPD17P136ACT Datasheet HTML 87Page - NEC UPD17P136ACT Datasheet HTML 88Page - NEC UPD17P136ACT Datasheet HTML 89Page - NEC UPD17P136ACT Datasheet HTML 90Page - NEC UPD17P136ACT Datasheet HTML 91Page - NEC UPD17P136ACT Datasheet HTML 92Page - NEC UPD17P136ACT Datasheet HTML 93Page - NEC UPD17P136ACT Datasheet HTML 94Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 292 page
background image
CHAPTER 9 REGISTER FILE (RF)
71
9.2.3 Register File Manipulation Instructions
Reading and writing data from and to the register file is done using the window register (WR: address 78H) located
in the system register.
Reading and writing of data is performed using the following dedicated instructions:
PEEK WR, rf: Read the data in the address specified by rf and put it into WR.
POKE rf, WR: Write the data in WR into the address specified by rf.
Below is an example using the PEEK and POKE instructions.
Example
RF02
MEM0.82H
; Symbol definition
RF1F
MEM0.9FH
; Register file addresses 00H to 3FH must be defined with
RF53
MEM0.53H
; symbols as BANK0 addresses 80H to BFH.
RF6D
MEM0.6DH
; See 9.4 NOTES CONCERNING USE OF THE REGISTER FILE
RF70
MEM1.70H
; for details.
RF71
MEM1.71H
;
BANK0
1
PEEK
WR, RF02
;
2
POKE
RF1F, WR
;
3
PEEK
WR, RF53
;
4
POKE
RF6D, WR
;
BANK1
;
5
PEEK
WR, RF02
;
6
POKE
RF1F, WR
;
7
PEEK
WR, RF70
;
8
POKE
RF72, WR
;
Figure 9-3 shows an example of register file operation.
As shown in Figure 9-3, reading and writing of data to and from the control register (addresses 00H to 3FH) is
performed using the “PEEK WR, rf” and “POKE rf, WR” instructions. Data within the control register specified using
rf can be read from and written to the control register, only by using these instructions with the window register.
The fact that the register file overlaps with data memory in addresses 40H to 7FH has the following effect: When
a “PEEK WR, rf” or “POKE rf, WR” instruction is executed, the effect is the same as if they were being executed on
the data memory address (in the current bank) specified by rf.
Addresses 40H to 7FH of the register file can be operated by normal memory manipulation instructions.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com