Dale - Computer Science Illuminated 248

Dale - Computer Science Illuminated 248 - following two...

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

View Full Document Right Arrow Icon
Exercises 221 12. Some Pep/7 instructions are unary, taking only one byte. Other instructions require three bytes. Given the instructions that we have covered in this chapter, would it be useful to define instructions that require only two bytes? Given the following state of memory (in hexadecimal), answer Exercises 13 through 19. 1110 111 00 111 FF 13. What are the contents of the A register after the execution of this instruction? 11110111 11111111 11111100 14. What are the contents of the A register after the execution of this instruction? 11110110 11111111 11111100 15. What are the contents of the X register after the execution of this instruction? 11110010 11111111 11111100 16. What are the contents of the A register after the execution of the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: following two instructions? 11110110 11111111 11111110 11100111 11111111 11111110 17. What are the contents of the A register after the execution of the following two instructions? 11110111 11111111 11111110 11100110 11111111 11111101 18. What are the contents of the A register after the execution of the following two instructions? 11110110 11111111 11111100 11011110 11111111 11111101 19. What are the contents of the X register after the execution of the following two instructions? 11110010 11111111 11111100 11011010 11111111 11111101 20. If the input character is A, what is the result of executing the following two instructions? 1110 00100110 11111111 11111001 111C 00011111 11111111 11110101...
View Full Document

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online