Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

UPD17708 Scheda tecnica(PDF) 95 Page - NEC

Il numero della parte UPD17708
Spiegazioni elettronici  4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
PDF  356 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  NEC [NEC]
Homepage  http://www.nec.com/
Logo NEC - NEC

UPD17708 Scheda tecnica(HTML) 95 Page - NEC

Back Button UPD17708 Datasheet HTML 91Page - NEC UPD17708 Datasheet HTML 92Page - NEC UPD17708 Datasheet HTML 93Page - NEC UPD17708 Datasheet HTML 94Page - NEC UPD17708 Datasheet HTML 95Page - NEC UPD17708 Datasheet HTML 96Page - NEC UPD17708 Datasheet HTML 97Page - NEC UPD17708 Datasheet HTML 98Page - NEC UPD17708 Datasheet HTML 99Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 356 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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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