Electronic Components Datasheet Search
  English  ▼

X  

GMS87C4060 Datasheet(PDF) 77 Page - Hynix Semiconductor

Part # GMS87C4060
Description  8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HYNIX [Hynix Semiconductor]
Direct Link  http://www.skhynix.com/kor/main.do
Logo HYNIX - Hynix Semiconductor

GMS87C4060 Datasheet(HTML) 77 Page - Hynix Semiconductor

Back Button GMS87C4060 Datasheet HTML 73Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 74Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 75Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 76Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 77Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 78Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 79Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 80Page - Hynix Semiconductor GMS87C4060 Datasheet HTML 81Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 77 / 102 page
background image
PRELIMINARY
GMS81C4040/87C4060
Nov. 1999 Ver 1.0
PRELIMINARY
73
A maskable interrupt is not accepted until the I-flag is set
to "1" even if a maskable interrupt of higher priority than
that of the current interrupt being serviced.
When nested interrupt service is necessary, the I-flag is set
to "1" in the interrupt service program. In this case, accept-
able interrupt sources are selectively enabled by the indi-
vidual interrupt enable flags.
Saving/Restoring General-purpose Register
During interrupt acceptance processing, the program
counter and the program status word are automatically
saved on the stack, but not the accumulator and other reg-
isters. These registers are saved by the program if neces-
sary. Also, when nesting multiple interrupt services, it is
necessary to avoid using the same data memory area for
saving registers.
The following method is used to save/restore the general-
purpose registers.
Example: Register save using push and pop instructions
General-purpose register save/restore using push and pop
instructions;
19.2 BRK Interrupt
Software interrupt can be invoked by BRK instruction,
which is the lowest priority order.
Interrupt vector address of BRK is shared with the vector
of TCALL 0 (Refer to Program Memory Section). When
BRK interrupt is generated, B-flag of PSW is set to distin-
guish BRK from TCALL 0.
Each processing step is determined by B-flag as shown in
Figure 19-6 .
Figure 19-6 Execution of BRK/TCALL0
INTxx:
PUSH
A
PUSH
X
LDA
DPGR
PUSH
A
;SAVE ACC.
;SAVE X REG.
;SAVE DPGR
; Direct page
; accessable reg.
;
:
interrupt processing
:
POP
A
STA
DPGR
POP
X
POP
A
RETI
;RESTORE DPGR
;RESTORE X REG.
;RESTORE ACC.
;RETURN
Basic Interval Timer
012H
0E3H
0FFE6H
0FFE7H
0EH
2EH
0E312H
0E313H
Entry Address
Correspondence between vector table address for BIT interrupt
and the entry address of the interrupt service program.
Vector Table Address
main task
interrupt
service task
saving
registers
restoring
registers
acceptance of
interrupt
interrupt return
B-FLAG
BRK
INTERRUPT
ROUTINE
RETI
TCALL0
ROUTINE
RET
BRK or
TCALL0
=0
=1



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