Chap02crp - to complete the program in Problem 14 16 Suppose the memory cells at addresses 20 through 28 in the machine described in Appendix C

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter Review Problems - Chapter 2: Data Manipulation ------------------------------------------------------ 14. Suppose the memory cells at the addresses F0 through FD in the machine described in Appendix C contain the following (hexadecimal) bit patterns: Address Contents F0 20 F1 00 F2 21 F3 01 F4 23 F5 05 F6 B3 F7 FC F8 50 F9 01 FA B0 FB F6 FC C0 FD 00 If we start the machine with its program counter equal to F0, what is the value in register 0 when the machine finally executes the halt instruction at location FC? 15. If the machine in Appendix C executes an instruction every microsecond (a millionth of a second), how long does it take to
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: to complete the program in Problem 14? 16. Suppose the memory cells at addresses 20 through 28 in the machine described in Appendix C contain the following bit patterns: Address Contents 20 12 21 20 22 32 23 30 24 B0 25 21 26 20 27 C0 28 00 Assume the machine starts with its program counter equal to 20. a. What bit patterns will be in registers 0, 1, and 2 when the machine halts? b. What bit pattern will be in the memory cell at address 30 when the machine halts? c. What bit pattern will be in the memory cell at address B0 when the machine halts?...
View Full Document

This note was uploaded on 12/19/2011 for the course CSCI 101 taught by Professor Dr.ambrose during the Spring '11 term at Community College of Baltimore County.

Ask a homework question - tutors are online