Exam text content

TIE-05200 Mikroprosessorit - 29.11.2018

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 29.11.2018

Ei laskinta.

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
0x00000028: LDR r3,[r11,4-8]
0x0000002C: ADD r3,r3,41
0x00000030: LDR r2,[r11,4-0xc]
0x00000034: ADD r2,r2,82
0x00000038: SUB rd4,r3,r2
0x0000003c: STR r4,[r11,4-0x10]
0x00000040: LDR r2,[r11,4-0x14]
0x00000044: LDR r3,[r11,4-0x18]
9x00000048: CMP F3,P2
0x9000004C: BLE main+490 ; 0Ox28
0x00000050: hä G

Selosta edellisen ohjelman CMP r3,r2 -käskyn hakuun ja suoritukseen

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

a) Muistikomponentti täyttää osoitealueen 0x0010 0000 — 0x001F FFFF. Mikä on
muistikomponentin koko? (3p)
b) Selitä DRAM ja SRAM muistisolujen toiminta ja vertaile niiden ominaisuuksia.

(4)
Selitä lyhyesti
a) vektoritaulukko (keskeytykset) (2p)

b) käskykanta (2p)
c) miten branch-käsky muuttaa ohjelmalaskurin arvoa. (3p)

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

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