COP8-PGMA-44QFP National Semiconductor, COP8-PGMA-44QFP Datasheet - Page 32

no-image

COP8-PGMA-44QFP

Manufacturer Part Number
COP8-PGMA-44QFP
Description
PROGRAMMING ADAPTER
Manufacturer
National Semiconductor
Datasheet

Specifications of COP8-PGMA-44QFP

Accessory Type
Programming Adapter
For Use With/related Products
Cop 8
Lead Free Status / RoHS Status
Not applicable / Not applicable
www.national.com
9.0 Interrupts
Programming Example: External Interrupt
WAIT:
SERVICE:
PSW
CNTRL
RBIT
RBIT
SBIT
SBIT
SBIT
JP
.
.
.
.=0FF
VIS
.
.
.
.=01FA
.ADDRW SERVICE
.
.
.
RBIT, EXPND, PSW
.
.
.
RET
(Continued)
0,PORTGC
0,PORTGD
IEDG, CNTRL
GIE, PSW
EXEN, PSW
WAIT
=00EF
=00EE
; Return, set the GIE bit
; G0 pin configured Hi-Z
; Ext interrupt polarity; falling edge
; Set the GIE bit
; Enable the external interrupt
; Wait for external interrupt
; branch to address 0FF
;The VIS causes a branch to
;interrupt vector table
; of VIS inst.) containing the ext
;interrupt service routine
; Interrupt Service Routine
; Reset ext interrupt pend. bit
; The interrupt causes a
; Vector table (within 256 byte
32

Related parts for COP8-PGMA-44QFP