Electronic Components Datasheet Search
  English  ▼

X  

UPD17708 Datasheet(PDF) 313 Page - Renesas Technology Corp

Part # UPD17708
Description  MOS INTEGRATED CIRCUIT
PDF  358 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

UPD17708 Datasheet(HTML) 313 Page - Renesas Technology Corp

Back Button UPD17708 Datasheet HTML 309Page - Renesas Technology Corp UPD17708 Datasheet HTML 310Page - Renesas Technology Corp UPD17708 Datasheet HTML 311Page - Renesas Technology Corp UPD17708 Datasheet HTML 312Page - Renesas Technology Corp UPD17708 Datasheet HTML 313Page - Renesas Technology Corp UPD17708 Datasheet HTML 314Page - Renesas Technology Corp UPD17708 Datasheet HTML 315Page - Renesas Technology Corp UPD17708 Datasheet HTML 316Page - Renesas Technology Corp UPD17708 Datasheet HTML 317Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 313 / 358 page
background image
311
µPD17704, 17705, 17707, 17708, 17709
Example 1.
R1
MEM
0.01H
; 1st digit of key input data of security code
R2
MEM
0.02H
; 2nd digit of key input data of security code
R3
MEM
0.03H
; 1st digit data when security code is changed
R4
MEM
0.04H
; 2nd digit data when security code is changed
M1
MEM
0.11H
; 1st digit of current security code
M2
MEM
0.12H
; 2nd digit of current security code
START:
Key input processing
R1
← contents of key A
; Security code input wait mode
R2
← contents of key B
; Substitutes contents of pressed key to R1 and R2
SET2
CMP, Z
; <1> ; Compares security code and input data
SUB
R1, M1
SUB
R2, M2
SKT1
Z
BR
ERROR
; Input data differs from security code
MAIN:
Key input processing
R3
← contents of key C
; Security code rewriting mode
R4
← contents of key D
; Substitutes contents of pressed key to R3 and R4
ST
M1, R3
; <2> ; Rewrites security code
ST
M2, R4
; <3>
BR
MAIN
ERROR:
Must not operate
Suppose the security code is “12H” in the program in Example 1. The contents of data memory addresses M1
and M2 are “1H” and “2H”, respectively.
If CE reset is effected, the contents of key input and security code “12H” are compared in <1>. If the two are the
same, the normal processing is performed.
If the security code is changed in the main processing, the new code is written to M1 and M2 in <2> and <3>.
Suppose the security code is changed to “34H”. Then “3H” and “4H” are written to M1 and M2 in <2> and <3>.
If CE reset is effected as soon as <2> has been executed, program execution is started from address 0000H, without
<3> being executed.
Consequently, the security code is set to “32H”, making it impossible to clear the security system.
In this case, create the program shown in Example 2.



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