assignment3 - CSCI 2021 Machine Architecture and...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 5

assignment3 - CSCI 2021 Machine Architecture and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online