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
ter organize Se Se! ee b) Store instructions in your program) (5 points) fh per #3 | p: ch R, a) Assume there is a string of ASCIlI-encoded characters store location address 0x8000. The string ends with the Carriage CR ASCII code is 0x0D). Write an assembly program that string and stores this length at location address 0x9000. PS: An ASCII character needs _1 byte to be stored Ox <a00 ; Aeshna hon Page 5/10 f : Se et oe een bat R1, R2 and R3 contain four different values. Write a stack ~~ iets or io swaps the values of these registers (for example: RO to RI, R ; to RO). (PS: you are not allowed to use any Move, Load or) , oe i A ae d in memory 1. 7 starting at Return (CR) character (the determines the length of the (12_points) (le OXFo00 0x Svv)