You've reached the end of your free preview.
Want to read all 3 pages?
Unformatted text preview: 1/15/2015 Student Gradebook Exam Grading Summary
These are the automatically
computed results of your exam.
Grades for essay questions, and
comments from your instructor, are
in the "Details" section below. Date Taken:
Time Spent:
Points Received: Question Type: 12/5/2014
1 Days , 8 h , 56 min , 47 secs
21 / 25 (84%) # Of Questions: Essay # Correct: 7 N/A Grade Details All Questions Show the value of the register and the carry after the
execution of the ASLA instruction.
Given the original content
0
1 0 0 1 0 1 0
of Register A and C carry flag 1. Question : 1 C = Register A = Student Answer: ASLA = Arithmetic shift Left A (ASRA) C = 1 Register A = 00101010
Instructor Explanation: Show the new values after
executing: ASLA. Points Received: 1
C 0 0 1 0 1 0 1 0 3 of 3 Comments: Show the value of the register and the carry after the
execution of the LSLB instruction.
Given the
original content
0 1 0 0 1 0 1 0
of Register B and
C carry flag 2. Question : 1 C = Register A = Student Answer:
Instructor
Explanation: Points Received: LSLB = Logic Shift Left B C = 1 Register B = 00101010 Show the new
values after
executing LSLB. 1
C 0 0 1 0 1 0 1 0 Comments: 3. Question : 3 of 3 Show the value of the register and the carry after the
execution of the ASRB instruction. (NEXT(c3330f954a))/Main/CourseMode/StudentGradebookExam/StudentGradebookExamView.ed?courseItemSubId=5734… 1/3 1/15/2015 Student Gradebook Exam Given the
original content
of Register B and
carry flag 1 0 1 0 0 1 0 1 0
C C = Register A = Student Answer: ASRB = Arithmetic Shift Right B Register B = 11010010 C = 1
Instructor Explanation: Show the new values after
executing: ASRB. Points Received: 1 1 0 1 0 0 1 0 1
C 3 of 3 Comments: Show the value of the register and the carry after the
execution of the RORA instruction.
Given the
original content
1 1 0 1 1 1 1 1
of Register A and
C carry flag 4. Question : 0 C = Register A = Student Answer:
Instructor
Explanation: RORA = Rotate Right A C = 0 Register A = 11011111 Show the new
values after
executing RORA. Points Received: 0
C 1 1 0 1 1 1 1 1 3 of 3 Comments: Show how to perform 77 x 34 in the HCS12. Store the result in a
WORDsize variable called var1. 5. Question : Student Answer: Instructor Explanation: LDAA #77 INLUDE 'derivative' ORG $2000 DS.B Var1 #77,#34 LDAA #77 LDAB
#34 EMUL STAB Var1 LDAB #34
MUL
STD var1 Points Received: 4 of 4 Comments: Show how to perform 77 / 3 in the HCS12. Store the quotient in a
WORDsize variable called result, and the remainder in a WORDsize
variable called remainder. 6. Question : Student Answer: Instructor Explanation: LDD #77 INLUDE 'derivative' ORG $2000 DS.B remainder #77,#3 LDD #77
LDX #3 IDIV STX remainder (NEXT(c3330f954a))/Main/CourseMode/StudentGradebookExam/StudentGradebookExamView.ed?courseItemSubId=5734… 2/3 1/15/2015 Student Gradebook Exam LDX #3
IDIV STY result
STD remainder Points Received: 3 of 4 Comments: STD remainder 7. Question : How are the following decimalsigned numbers represented in HCS12? I. 12
II. +127
III. 128 I. 12 in binary = 1100 1's complement = 0011 2's complement =
0011 + 1 = 0100 2's complement of a number = the negative value
12 = 0100 II. +127 in binary = 11111111 II. 128 in binary =
10000000 1's complement = 01111111 2's complement =
01111111 + 1 = 10000000 2's complement of a number = the
negative value 128 = 10000000 Student Answer: Instructor Explanation: I. 11110100 II. 01111111
III. 10000000 Points Received: 2 of 5 Comments: * Times are displayed in (GMT07:00) Mountain Time (US & Canada) (NEXT(c3330f954a))/Main/CourseMode/StudentGradebookExam/StudentGradebookExamView.ed?courseItemSubId=5734… 3/3 ...
View
Full Document
- Spring '15
- Student Answer, Infantry battalions of the United States Marine Corps, Instructor Explanation, Student Gradebook Exam