ece109_InClass08

ece109_InClass08 - R3 + R0. 2. Show the binary encoding of...

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

View Full Document Right Arrow Icon
ECE 109 Spring 2010 Name:__________________________________________ February 9, 2010 Class Assignment 8 1. The format for the LC-3 ADD instruction is: 15 12 11 9 8 6 5 4 3 2 0 ADD DR SR1 000 SR2 The opcode for ADD is 0001. Show the binary encoding of an instruction that performs the following operation: R2
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: R3 + R0. 2. Show the binary encoding of an LC-3 instruction that doubles the value stored in register R5. 3. The format of an ADD instruction for the MIPS architecture is: 31 26 25 21 20 16 15 11 10 6 5 0 000000 SR1 SR2 DR 000000 ADD How many registers does the MIPS architecture have? __________________...
View Full Document

Ask a homework question - tutors are online