PriOut1_Practice - ECE 362 Outcome 1 Assessment-1Practice Exam Solution PART 1 Multiple Choice Select the single most appropriate response for each

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 362 Outcome 1 Assessment - 1 - Practice Exam / Solution ______________________________________________________________________________ © 2009 by D. G. Meyer / Purdue University – may not be copied or reproduced, in any form or by any means. PART 1: Multiple Choice – Select the single most appropriate response for each question. Note that none of the above MAY be a VALID ANSWER. Place answers for this part on the supplied BUBBLE SHEET only – nothing written here will be graded. Please REATTACH your completed bubble sheet to this document and TURN BOTH IN TOGETHER – failure to do so will result in a score of ZERO. Do not spend more than 60 minutes on this portion of the exam. (1) Execution of the instruction LEAY 1,X+ causes: (A) nothing to happen (B) (X) (X)+1 (C) (Y) (X)+1 (D) (A) (X) (E) none of the above (2) The largest possible 8-bit binary fraction, expressed as a base 10 number, is: (A) 0.1111 1111 (B) 0.9999 9999 (C) 0.9960 9375 (D) 0.5000 0000 (E) none of the above (3) When multiplying integers (using any of the multiply instructions), the carry flag: (A) can be used to round the result (B) can be used to implement extended precision multiplication (C) is set if the result is invalid (D) has no significance (E) none of the above (4) If (D)=$8000 and (X)=$FFFF, the quotient in (X) after executing IDIVS is: (A) $0000 (B) $7FFF (C) $8000 (D) $FFFF (E) none of the above (5) If (D)=$8000 and (X)=$0000, the quotient in (X) after executing IDIVS is: (A) $0000 (B) $7FFF (C) $8000 (D) $FFFF (E) none of the above
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECE 362 Outcome 1 Assessment - 2 - Practice Exam / Solution ______________________________________________________________________________ © 2009 by D. G. Meyer / Purdue University – may not be copied or reproduced, in any form or by any means. (6) The result produced by FDIV when dividing $4000 by $2000 is: (A) $8000 (B) $FFFF (C) $7FFF (D) $0000 (E) none of the above (7) If a 16-bit item is pushed onto the HC(S)12 stack, the SP register points to: (A) the low byte of the top stack item (B) the high byte of the top stack item (C) the next available stack location (D) the next instruction to execute (E) none of the above (8) The carry out of the sign position is complemented when a SUB instruction is executed: (A) so that overflow can be detected (B) so that the sign of the result can be detected (C) so that the carry condition code bit can be interpreted as a borrow propagated forward (D) so that the carry condition code bit can be interpreted as a carry propagated forward (E) none of the above (9) Given that at least four bytes have been pushed onto the HC(S)12 stack, execution of the instruction LEAS 4,SP causes: (A) four additional bytes to be allocated on the stack
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/12/2012 for the course ECE 362 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 7

PriOut1_Practice - ECE 362 Outcome 1 Assessment-1Practice Exam Solution PART 1 Multiple Choice Select the single most appropriate response for each

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online