Electronic Components Datasheet Search
  English  ▼

X  

UPD17P136ACT Datasheet(PDF) 84 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) 84 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 80Page - NEC UPD17P136ACT Datasheet HTML 81Page - NEC UPD17P136ACT Datasheet HTML 82Page - NEC UPD17P136ACT Datasheet HTML 83Page - NEC UPD17P136ACT Datasheet HTML 84Page - NEC UPD17P136ACT Datasheet HTML 85Page - NEC UPD17P136ACT Datasheet HTML 86Page - NEC UPD17P136ACT Datasheet HTML 87Page - NEC UPD17P136ACT Datasheet HTML 88Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 292 page
background image
CHAPTER 7 SYSTEM REGISTER (SYSREG)
65
7.8.2 Handling of System Register Addresses Fixed at 0
In dealing with system register area fixed at 0 (see Figure 7-2), there are a few points for which caution should
be taken with regard to device, emulator and assembler operation.
Items (1), (2) and (3) explain these points.
(1) Concerning device operation
Trying to write data to an address fixed at 0 will not change the value (0) at that address. Any attempt to read
an address fixed at 0 will result in the value 0 being read.
(2) When using a 17K series in-circuit emulator (IE-17K or IE-17K-ET)
An error will be generated if a write instruction attempts to write 1 to an address fixed at 0.
Below is an example of the type of instructions that will cause the in-circuit emulator to generate an error.
Example 1.
MOV
BANK, #0100B
; Attempts to write 1 to bit 3 (an address fixed at 0).
2.
MOV
IXL, #1111B
;
MOV
IXM, #1111B
;
MOV
IXH, #0001B
; Attempts to write 1 to bit 0 (an address fixed at 0).
ADD
IXL, #1
;
ADDC
IXM, #0
;
ADDC
IXH, #0
; Attempts to write 1 to bit 0 (an address fixed at 0) as a result of
operation.
However, when all valid bits are set to 1 as shown in Example 2, executing the instructions INC AR or INC
IX will not cause an error to be generated by the in-circuit emulator. This is because when all valid bits of the
address register and index register are set to 1, executing the INC instruction causes all bits to be set to 0.
The only time the in-circuit emulator will not generate an error when an attempt is made to write the value 1
to an address fixed at 0 is when the address being written to is in the address register.
(3) When using a 17K series assembler (AS17K)
No error is output when an attempt is made to write 1 to an address fixed at 0. The instruction shown in
Example 1
MOV
BANK, #0100B
will not cause an assembler error. However, when the instruction is executed in the in-circuit emulator, an
error is generated.
The following is the reason why an error is not generated in the assembler: the assembler does not know what
data memory address is the object of the data memory manipulation instruction being executed.
The assembler generates an error only when the value n in the embedded macro BANKn is a value greater
than 2:
This is because the assembler judges that embedded macros other than BANK0 and 1 cannot be used in the
µPD17134A subseries.



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