Past-paper question · 2018 October-November · Paper 12 · Q4(b)(ii)

Question 4(b)(ii) 2018 · October-November · Paper 12 · 5 marks

Question 4

Part (b)

(ii)

Question 4

A student has written the steps of the fetch stage of the fetch-execute (FE) cycle in register transfer

notation. The student has made some errors.

Line 1 MDR [PC]

Line 2 PC PC + 1

Line 3 MDR [MAR]

Line 4 CIR PC One stage of the FE cycle includes checking for interrupts.

(ii)

Explain how interrupts are handled during the fetch-execute cycle.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

......................................................................................................................................

[5]

Question 11

Reveal official mark-scheme answer Official mark-scheme answer for 4(B)(II)

Official answer for Question 4

Part (b)

(ii)

Question 1

mark per bullet point to max 5

Question 5

✓
•
✓
At the end of each fetch–execute cycle the processor checks for
✓
interrupt(s)
✓
•
✓
Check if an interrupt flag is set // Check if bit set in interrupt register
✓
•
✓
Processor identifies source of interrupt
✓
•
✓
Processor checks priority of interrupt
✓
•
✓
If interrupt priority is high enough // Lower priority interrupts are disabled
✓
•
✓
Processor saves current contents of registers
✓
•
✓
Processor calls interrupt handler / Interrupt Service Routine (ISR)
✓
•
✓
Address of ISR is loaded into Program Counter (PC)
✓
•
✓
When servicing of interrupt complete, processor restores registers
✓
•
✓
Lower priority interrupts are re-enabled
✓
•
✓
Processor continues with next F–E cycle
✓
9608/12
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2018
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w18_ms_12.pdf →

Topic relevance

Why this question appears here

99% assigned-topic match · Processor fundamentals › CPU architecture

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w18_qp_12.pdf

Keep practising this topic