| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
UPD17708 Datasheet(PDF) 312 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17708 Datasheet(HTML) 312 Page - NEC |
|
312 / 356 page ![]() 312 µPD17704, 17705, 17707, 17708, 17709 Example 2. 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 CHANGE FLG 0.13H.0 ; “1” while security code is changed 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 SKT1 CHANGE ; <4> ; If CHANGE flag is “1” BR SECURITY_CHK ST M1, R3 ; Rewrites M1 and M2 ST M2, R4 CLR1 CHANGE SECURITY_CHK: 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 SET1 CHANGE ; <5> ; Until security code is changed, ; Sets CHANGE flag to “1” ST M1, R3 ; <2> ; Rewrites security code ST M2, R4 ; <3> CLR1 CHANGE ; If security code has been changed, ; Sets CHANGE flag to “0” BR MAIN ERROR: Must not operate The program in Example 2 sets the CHANGE flag to “1” in <5> before the security code is rewritten in <2> and <3>. Therefore, even if CE reset is effected before <3> is executed, the security code is rewritten in <4>. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| 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 |