n 3.Question :(TCO 3) Which of the following is wrong?
-1160226046
MultipleChoice
1
True
0
-1160226046
MultipleChoice
1
-1160226045
MultipleChoice
9
True
0
-1160226045
MultipleChoice
9

Question :(TCO 3) The address space, 0x0000-0x3FFF, is assigned to SRAM of agiven HCS12 chip. How many K bytes of SRAM does this chip have?
Question :
(TCO 3) Give the contents of the address location, $1201, after the
execution of the following instructions.
-1160226044
MultipleChoice
18
True
0
-1160226044
MultipleChoice
18
-1160226043
MultipleChoice
19
True
0
-1160226043
MultipleChoice
19

LDY #$AA55
STY $1200
Student Answer:
$55
$AA
00
$12
Instructor
Explanation:
pages 60-64, Course Textbook
Points Received:
2 of 2
Comments:
Questio
n 6.
Question :
(TCO 4) Give the contents of Register A after the execution of the
following instructions:
Data_1 EQU 12
Data_2 EQU %00001000
LDAA #Data_1
ADDA #Data_2
Student Answer:
$12
$08
12
$14
Instructor
Explanation:
pages 81-84, Course Textbook
Points Received:
0 of 2
-1160226042
MultipleChoice
28
True
0
-1160226042
MultipleChoice
28

Comments:
Questio
n 7.Question :(TCO 4) What is the addressing mode of the instruction “DECA ”?
Question :
(TCO 3) Give the status of C and Z flags after the execution of the
following instructions.
LDAA #$FF
LDAB #255
ABA ;A=A+B
C= ______ Z = _______
Student Answer:
C = 1 Z = 1
Instructor
Explanation:
C = 1, Z = 0. pages 77-78, Course Textbook
Points Received:
2 of 4
1.
Question :
(TCO 5) In the following program, the maximum number of iterations is
limited to _________.
L1 CLRA
NOP
NOP
DECB
BNE L1
-1160226041
MultipleChoice
33
False
0
-1160226041
MultipleChoice
33
-1160226040
Short
6
False
0
-1160226040
Short
6

Student Answer:
255
100
0x200
0x99
Instructor
Explanation:
pages 106-108, Course Textbook
Points Received:
3 of 3
Comments:
Questio
n 2.
Question :
(TCO 5) If we need a loop of 100,000 iterations, then we must use
________location(s) of RAM for counter.
Student Answer:
four
one
two
100
Instructor
Explanation:
pages 110-111, Course Textbook
Points Received:
3 of 3
Comments:
Questio
n 3.
Question :
(TCO 5) Upon execution of JSR instruction, SP _________.
-1132510638
MultipleChoice
4
True
0
-1132510638
MultipleChoice
4
-1132510637
MultipleChoice
9
True
0
-1132510637
MultipleChoice
9

Student Answer:
is decremented
is incremented
does not change
becomes zero
Instructor
Explanation:
page 119, Course Textbook
Points Received:
3 of 3
Comments:
Questio


You've reached the end of your free preview.
Want to read all 24 pages?
- Fall '15
- edwin
- Student Answer, MultipleChoice