{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Quiz 2 WI 12 soln

Quiz 2 WI 12 soln - $14(give answer in hexadecimal(2 What...

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

View Full Document Right Arrow Icon
ECE265 Quiz 2 NAME: ______________________________________________ Winter 2012 THIS IS AN OPEN BOOK/OPEN NOTES QUIZ – NO ELECTRONIC DEVICES (10 points) (2) Give the DIRECT ADDRESSING mode instruction to load the B accumulator (mnemonic LDAB) from memory location $0014. LDAB $14 (2) What addressing mode is the following instruction? LDAA #$14 IMMEDIATE (2) For LDAA #$14 what value is loaded into the A accumulator?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: _______ $14 ______ (give answer in hexadecimal) (2) What is the 2’s complement of $22? ____________________________ $22 is 0010 0010 2’complement is 1101 1110 1’s complement 1101 1101 (2) In EXTENDED ADDRESSING mode how many bits of the address of the operand are given with the instruction? _____ 16 bits or 2 bytes _______...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online