
DeVry ECET 330 ECET330 Quiz 5 Answers
ECET 330 ECET330 QUIZ 5
- (TCO 5) For the SUBA #$66 in the following code, the ALU performs: LDAA #$66
SUBA #$99
A = __________ -
(TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$37
ORAA #$F0
A = __________ -
(TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$66
COMA ;complement A
ADDA #01
A = __________ -
(TCO 5) Which bit is used to indicate the sign of a 16-bit signed number? -
(TCO 5) Which of the following is +9 for an eight-bit signed number? -
(TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$56
SUBA #$93
A = __________ -
(TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$37
ORAA #$F0
A = __________ -
(TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$FF
COMA ;complement A
ADDA #1
A = __________ -
(TCO 5) Which bit is used to indicate the sign of an eight-bit signed number? - (TCO 5) Which of the following is +9 for an eight-bit signed number?
- (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$99
SUBA #$66
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$37
ORAA #$F0
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
CLRA ;Clear A
COMA ;complement A
LSLA
A = __________ - (TCO 5) Which bit is used to indicate the sign of a 16-bit signed number?
- (TCO 5) Which of the following is +9 for an eight-bit signed number?
- (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$32
SUBA #$3E
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$37
ANDA #$0F
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #0
COMA ;complement A
ADDA #1
A = __________ - (TCO 5) Which bit is used to indicate the sign of an eight-bit signed number?
- (TCO 5) Which of the following is +9 for an eight-bit signed number?
- (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$99
SUBA #$66
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$37
ORAA #$F0
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
CLRA ;Clear A
COMA ;complement A
ADDA #01
A = __________ - (TCO 5) For a 16-bit signed number, we can use a maximum of __________ bits for the non-sign portion (magnitude) of the signed number.
- (TCO 5) The largest eight-bit positive signed number that we can have is
- (TCO 5) For the SUBA #$66 in the following code, the ALU performs:
LDAA #$99
SUBA #$66
A = ___________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$55
EORA #$FF
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
CLRA ;Clear A
COMA ;complement A
ADDA #01
A = __________ - (TCO 5) For a 16-bit signed number, we can use a maximum of __________ bits for the non-sign portion (magnitude) of the signed number.
- (TCO 5) Which of the following is +5 for an eight-bit signed number?
- (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$99
SUBA #$66
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$AA
EORA #$FF
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #0
COMA ;complement A
ADDA #1
A = __________ - (TCO 5) Which bit is used to indicate the sign of a 16-bit signed number?
- (TCO 5) Which of the following is -5 for an eight-bit signed number?
- (TCO 5) For the SUBA #$66 in the following code, the ALU performs:
LDAA #$99
SUBA #$66
A = ___________ - TCO 5) Find the value in Register A after the execution of the following code:
LDAA #$AA
EORA #$FF
A = __________ - (TCO 5) Find the value in Register A after the execution of the following code:
LDAA #0
COMA ;complement A
ADDA #1
A = __________ - (TCO 5) Which flag is used to see if the signed data are correctly added together?
- (TCO 5) Which of the following is +9 for an eight-bit signed number?