1 blank page. Dc (ST) 122367/2 ucles 2016 [Turn over Cambridge International Examinations


9608/11/M/J/16 © UCLES 2016 [Turn over



Download 461,73 Kb.
Pdf ko'rish
bet15/17
Sana13.01.2022
Hajmi461,73 Kb.
#359260
1   ...   9   10   11   12   13   14   15   16   17
11

9608/11/M/J/16

© UCLES 2016

[Turn over

Question 9 begins on page 12.



12

9608/11/M/J/16

© UCLES 2016

The table shows assembly language instructions for a processor which has one general purpose 

register, the Accumulator (ACC) and an index register (IX).

Instruction

Explanation

Op code

Operand

LDD


Direct addressing. Load the contents of the given address to ACC.

LDX

Indexed addressing. Form the address from

+ the contents of the 

index register. Copy the contents of this calculated address to ACC.

STO


Store contents of ACC at the given address.

ADD

Add the contents of the given address to ACC.

INC

Add 1 to the contents of the register (ACC or IX).

DEC

Subtract 1 from the contents of the register (ACC or IX).

CMP

Compare contents of ACC with contents of

.

JPE

Following a compare instruction, jump to

if the compare was True.

JPN

Following a compare instruction, jump to

if the compare was 

False.

JMP


Jump to the given address.

OUT

Output to screen the character whose ASCII value is stored in ACC.



END

Return control to the operating system.

 

 (a) 

The diagram shows the current contents of a section of main memory and the index register:

60

0011 0010



61

0101 1101

62

0000 0100



63

1111 1001

64

0101 0101



65

1101 1111

66

0000 1101



67

0100 1101

68

0100 0101



69

0100 0011

...

1000


0110 1001

Index register: 

0

0

0



0

1

0



0

0




Download 461,73 Kb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish