This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CSCI 2021 Machine Architecture and Organization Written Assignment 3 Due: April 8 th , in Discussion Name: __________________________ Student ID: ______________________ Section #: _______________________ Fill in the above blanks Please print this off and write your answers legibly in the space provided. These problems cover material from Chapter 4. The textbook in this context is R. Bryant, D. OHallaron. Computer Systems: A Programmers Perspective. Prentice Hall, 2003 Problem 1 (15 Points) Determine the byte encoding of the Y86 instruction sequence that follows. Your answer should be in the style that is used in the solution of Practice Problem 4.1. Please write your answer in the space next to the Y86 code. .pos 0x900 array: .long 0xabcd .long 0x1234 Loop: irmovl $-2 %ebx addl %ebx %edx jne Loop Problem 2 (20 Points) For each byte sequence listed, determine the Y86 instruction sequence it encodes. There is no invalid byte in any sequence. Your answer should be in the style that is used in the solution of Practice Problem byte in any sequence....
View Full Document
This note was uploaded on 10/21/2011 for the course CSCI 2021 taught by Professor Staff during the Spring '08 term at Minnesota.
- Spring '08