Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

UPD17708 Datasheet(PDF) 97 Page - Renesas Technology Corp

No. de pieza UPD17708
Descripción Electrónicos  MOS INTEGRATED CIRCUIT
PDF  358 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  RENESAS [Renesas Technology Corp]
Página de inicio  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

UPD17708 Datasheet(HTML) 97 Page - Renesas Technology Corp

Back Button UPD17708 Datasheet HTML 93Page - Renesas Technology Corp UPD17708 Datasheet HTML 94Page - Renesas Technology Corp UPD17708 Datasheet HTML 95Page - Renesas Technology Corp UPD17708 Datasheet HTML 96Page - Renesas Technology Corp UPD17708 Datasheet HTML 97Page - Renesas Technology Corp UPD17708 Datasheet HTML 98Page - Renesas Technology Corp UPD17708 Datasheet HTML 99Page - Renesas Technology Corp UPD17708 Datasheet HTML 100Page - Renesas Technology Corp UPD17708 Datasheet HTML 101Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 358 page
background image
95
µPD17704, 17705, 17707, 17708, 17709
10.5 Using Data Buffer Stack
A program example is shown below.
Example To save the contents of the data buffer and address register by using INT0 interrupt routine (the
contents of the data buffer and address register are not automatically saved when an interrupt
occurs).
START:
BR
INITIAL
; Reset address
; Interrupt vector address
NOP
; SI01
NOP
; SI00
NOP
; TM3
NOP
; TM2
NOP
; TM1
NOP
; TM0
NOP
; INT4
NOP
; INT3
NOP
; INT2
NOP
; INT1
BR
INTINT0
; INT0
NOP
; Down edge of CE
INTINT0:
PUT
DBFSTK, DBF ; Saves contents of DBF to first level of data buffer
; stack (DBFSTK)
GET
DBF, AR
; Transfers contents of address register (AR) to DBF
PUT
DBFSTK, DBF ; Saves contents of AR to second level of data buffer
; stack
Processing B
; INT0 interrupt processing
GET
DBF, DBFSTK ; Restores second level of data buffer stack to data buffer,
PUT
AR, DBF
; and restores contents of data buffer to address register
GET
DBF, DBFSTK ; Restores first level of data buffer stack to data buffer
EI
RETI
INITIAL:
SET1 IP0
EI
LOOP:
Processing A
BR
LOOP
END
10.6 Cautions on Using Data Buffer Stack
The contents of the data buffer stack are not automatically saved when an interrupt is accepted, and therefore,
must be saved by software.
Even when a bank of the data memory other than BANK0 is specified, the contents of the data buffer (existing
in BANK0) can be saved or restored by using the “PUT” and “GET” 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 Descarga

Go To PDF Page


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


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