23.05.2017 Views

ECET 330 DeVry Final Exam

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

o<br />

o<br />

o<br />

o<br />

Data bus<br />

Address bus<br />

Control bus<br />

None of the above<br />

Question 6.6. (TCO 2) The address bus is __________. (Points : 8)<br />

o<br />

o<br />

o<br />

o<br />

bidirectional<br />

unidirectional<br />

able to be programmed to be either bidirectional or unidirectional<br />

None of the above<br />

Question 7.7. (TCO 3) To use JSR (or CALL) instruction, we must initialize _____ register. (Points : 8)<br />

o<br />

o<br />

o<br />

o<br />

X<br />

Y<br />

PC<br />

SP<br />

Question 8.8. (TCO 3) Find the value of Register A for the following program.<br />

LDAA #$55<br />

EORA #$AA (Points : 8)<br />

o A = $00<br />

o A = $FF<br />

o A = $7F<br />

o None<br />

Question 9.9. (TCO 3) The dollar sign ($) that precedes numbers in MC9S12 assembly language means that<br />

(Points : 8)<br />

o<br />

o<br />

o<br />

o<br />

o<br />

it is a hexadecimal number.<br />

it is a decimal number.<br />

it is immediate mode.<br />

All of the above<br />

None of the above<br />

Question 10.10. (TCO 3) The largest value (in hex) that can be loaded into Register A of HCS12 is (Points : 8)<br />

o $08.<br />

o $255.<br />

o $65535.<br />

o $FF.<br />

Page 2<br />

Question 1.1.(TCO 4) What addressing mode is used for the instruction, INX? (Points : 8)<br />

o<br />

o<br />

o<br />

o<br />

o<br />

Direct<br />

Indexed<br />

Inherent<br />

Immediate<br />

None of the above<br />

Question 2.2.(TCO 5) When instruction, “jsr”, is executed, the return address is stored at (Points : 8)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!