CCE 320 Midterm, Fall 2013

American University of Science and Technology · Computer Organization & Microprocessors · 1 page · Dr. Oussama Tahan

All CCE 320 files
CCE 320 Midterm, Fall 2013, page 1

Stuck on a question? A tutor can walk you through it.

More CCE 320 files

Show the text of this exam
located at address 0x2000 and i takes 4 bytes in the memory, b[0] is located at address 0x3000. We consider that each integer PS: notice that the ] palestine oe, of the loop should evolve just like in the c code program (incr: emented . ise the program’s functionality will be affected. for (i=1; i<n; i++) { ali] = a[i-1]*2 + b[i-1]; a ceil HVEEH 2 0X40} Conetder de ocoifel 1S din habia Ox4oo8 HOVE DH Ri gy Zoo0 ; Hee ADI Py » 04 5 Metontdedsoude £ Move E H R,. OX 3000 5 deabirat on om’ce a Ks ‘ Rodbn ac } Pol lhe PMs iw Q,. hy. TWA N : Couwkel wnclenenllf noeLA AGA po CHD Rk 4-4 Lope Mowe — R (R,) SE an a AQT KR, } Ry bas fe S fyivy aliss nob SH Loof Wok RA EN): HALT Hove Rus E hod tee RETK R, aC ees bC-1 a) What is the difference between the jmp instruction and the call instruction? (5 points) The Ain bo fanch jnstfchin thal will go oles of oy Ke lob of tle pomp ond Conkinue Hoon there oh. PC = odless of the label. ele Te coll Wetlaction ts abypnch wnctluction Thod will qo To & Subd excule quad ih Is the moda Patan hee dit KET ston ne oll ig ict Funchin ns 1h Gries ae Page 4/10 uestion#3 om