Exam text content

TIE-05200 Mikroprosessorit - 16.10.2017

Exam text content

The text is generated with Optical Image Recognition from the original exam file and it can therefore contain erroneus or incomplete information. For example, mathematical symbols cannot be rendered correctly. The text is mainly used for generating search results.

Original exam
TTY TIE-05200 Mikroprosessorit 4 op

Matti Haavisto Tentti 16.10.2017

e Filaskinta.
e Kirjoita ja piirrä selkeästi!!!!!

1 Alla on kuvattu eräs while-silmukka. Selitä, mikä on kunkin käskyn merkitys ko.
silmukassa. (5p)

0x00000024: B main+64 ; 0x40
0x00090028: LDR r3,[r11,4-8]
0x0000002c: ADD r3,r3,41
0x90000030 : LDR r2,[r11,4-0xc]
0x000900034: ADD r2,r2,82
0x00009938: SUB r4,r3,r2
0x9000003Cc: STR r4,[r11,4-0x10]
0x090000040: LDR r2,[r11,4-0x14]
0x00000044: LDR r3,[r11,14-0x18]
0x090000048: CMP 132
0x0000004C: BLE main+490 ; 0x28
0x00000050: sa

2 Selosta edellisen ohjelman LDR r3,[r11,%-8] -käskyn hakuun ja

suoritukseen liittyvät tapahtumat yksitellen (mieluiten ranskalaisin viivoin). Aloita
siitä, kun ohjelmalaskurin arvo on sama kuin käskyn osoite 0x00000028. (8p)

3 a) Muistikomponentti täyttää osoitealueen 0x0010 0000 — 0x001F FFFF. Mikä on
muistikomponentin koko? (3p)
b) Mitkä ovat IO-puskureiden tehtävät? (2p)

4 Selitä lyhyesti
a) osoiteväylä (2p)

b) käskykanta (2p)
c) SRAM-muistisolu. (2p)

5 Kerro, miten siirtyminen pääohjelman ja aliohjelman (funktion) välillä tapahtuu
laitteistotasolla. (6p)


We use cookies

This website uses cookies, including third-party cookies, only for necessary purposes such as saving settings on the user's device, keeping track of user sessions and for providing the services included on the website. This website also collects other data, such as the IP address of the user and the type of web browser used. This information is collected to ensure the operation and security of the website. The collected information can also be used by third parties to enable the ordinary operation of the website.

FI / EN