qfour - end of the execution of the following sequence of...

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

View Full Document Right Arrow Icon
CE12 Larrabee Winter ‘10 Section: Name: Quiz 4: February 5 This is a closed book, no calculator, quiz 1. (3 points) We would like to have an instruction that does nothing. Which of the following three instructions could be used for NOP and have the program still work correctly? If the instruction cannot be used as a NOP , explain why (briefly). (a) 0001 001 001 1 00000 (b) 0000 111 000000001 (c) 0000 000 000000000 2. (3 points) If the condition codes have values N = 0, Z = 0, P = 1 at the beginning of the execution of the following sequence of instructions, what will their values be at the
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end of the execution of the following sequence of LC-3 instructions: x3050 0000 0010 0000 0010 x3051 0101 0000 0010 0000 x3052 0000 1110 0000 0010 x3053 0101 0000 0010 0000 x3054 0001 0000 0011 1111 3. An LC-3 assembly language program contains the instruction below. The sumbol table entry for ASCII is x4F08 . If this instruction is executed during the running of the program, what will be contained in R1 immediately after the instruction is executed? ASCII LD R1, ASCII...
View Full Document

Page1 / 2

qfour - end of the execution of the following sequence of...

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

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