thw_mod6_no2

thw_mod6_no2 - ECE 270 Introduction to Digital System...

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

View Full Document Right Arrow Icon
ECE 270 Introduction to Digital System Design Fall 2011 TakeHomaWork for Module 6 – Due Friday, November 18 1. [20 points] Given the “snapshot” of memory shown, calculate the result stored in memory along with the condition codes generated when each “shaded” region of machine code is executed . INITIAL CONTENTS AFTER 1 st BLOCK Location Contents 00000 001 01101 00001 011 00000 00010 010 01100 00011 001 01110 00100 100 01111 00101 010 01011 00110 001 01111 00111 101 01110 01000 010 01010 01001 000 00000 01010 01011 01100 01101 0111 1011 01110 1011 0110 01111 0110 1110 AFTER 2 nd BLOCK AFTER 3 rd BLOCK Location Contents 00000 001 01101 00001 011 00000 00010 010 01100 00011 001 01110 00100 100 01111 00101 010 01011 00110 001 01111 00111 101 01110 01000 010 01010 01001 000 00000 01010 01011 01100 01101 0111 1011 01110 1011 0110 01111 0110 1110 Opcode Mnemonic Description Opcode Mnemonic Description 0 0 0 HLT Stop execution 0 1 1 NGA (A) -(A) 0 0 1 LDA addr (A) (addr) 1 0 0 SUB addr (A)
Background image of page 1

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

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

Page1 / 2

thw_mod6_no2 - ECE 270 Introduction to Digital System...

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