CSCI 463    Assignment 03     Section:___    Name:_____________,____________

(100 pts)

Assignment ready

1. The DEBUG used in Assignment 2 is: a) interpreter b) translator c) virtual machine d) __________ 2. The assembler used in Assignment 2 is: a) interpreter b) translator c) virtual machine d) __________ For Questions 3-6, choose one from the pool below that best describes each of the following levels of "Contemporary Machines" (as defined by Tanenbaum and the web page): A. Hardware B. Digital Logic C. MicroArchitecture D. Instruction Set Architecture (ISA) E. Operating System Machine F. Low level programming. G. High level programming. H. Application level programming. 3. ___ Instructions directly interpreted by the hardware or a micro-interpreter. Instructions may be complex and involve several registers and and iteration (repeated activity). 4. ___ Contains groupings of transistors or other electronics that can be treated a simple unit that represents a single bit of data. 5. ___ Instructions are usually interpreted and represent conceptual ideas on how an application should function and can be run on different platforms. 6. ___ Groupings of circuits that have been assigned dedicated tasks or can hold data recongnized at the programming level. 7. ___ At this level, information is represented by strength that a voltage appears and its duration. 8. ___ Instructions have a direct relation to the tasks required of the cpu. One instruction per task and instructions in a form recognized by the system. 9. ___ Instructions are human readable but must be ordered in a way that every single activity required by the system is stated. 10. Instructions at the ISA and Operating System Machine levels are: a) always interpreted b) usually translated c) _________ 11. Instructions at the Assembly and Problem-Oriented Language levels are: a) always interpreted b) usually translated c) _________ 12. Consider the operation of a machine with the Data Path. If loading the ALU input registers takes 2 nsec, running the ALU takes 3 nsec, and storing the result back in the register scratchpad takes 5 nsec. What is the maximum number of MIPS that this machine is capable of in the absence of pipelining? ________ MIPS Show your work: 13. Convert the number 17.432 to binary - carry decimal to 4 places. Remember that a conditional jump has a range of 1 byte total and can jump in either direction. An unconditional jump has a range of 2 bytes (65536) and can jump in either direction. Calculate the operands for the two commands below. Show your work and remember Intel uses little endian. 14. 0230 ja 0210 77 ___ 15. 0232 jmp 0247 e9 ___ ___ 0235