Past-paper question · 2015 May-June · Paper 32 · Q5(d)(i)

Question 5(d)(i) 2015 · May-June · Paper 32 · 4 marks

Question 5

Part (d)

(i)

Question 5

A gardener grows vegetables in a greenhouse. For the vegetables to grow well, the temperature

needs to always be within a particular range.

The gardener is not sure about the actual temperatures in the greenhouse during the growing season. The gardener installs some equipment. This records the temperature every hour during the growing season.

(i)

The accumulator is loaded with the value of byte 1 from location 106.

Write the assembly language instruction to check whether the reading in byte 2 came from location 4.

LDD 106 // data loaded from address 106

.......................................................................................................................................[4]

Reveal official mark-scheme answer Official mark-scheme answer for 5(D)(I)

Official answer for Question 5

Part (d)

(i)

Part (d)

(i)

✓
AND #B00010000 // AND #&10 // AND #16
✓
1 + 1 + 1 +
✓
1 mark for AND, 1 mark for address mode, 1 mark for mask, 1 mark for

Question 1

✓
indication of numbering system

Mark scheme 9608_s15_ms_32.pdf →

Topic relevance

Why this question appears here

86% assigned-topic match · Processor fundamentals › Assembly language

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_s15_qp_32.pdf

Keep practising this topic