Question: TUIL I. Choose the best answer (3 points each) 1. Which of the following is true regarding the N flag of the status register SREC(a)

 TUIL I. Choose the best answer (3 points each) 1. Which
of the following is true regarding the N flag of the status
register SREC(a) Nis set when operation has a carry out (b) N

TUIL I. Choose the best answer (3 points each) 1. Which of the following is true regarding the N flag of the status register SREC(a) Nis set when operation has a carry out (b) N is set when the operation result is o(s) Nis set when the result of operation is negative (d) Nis set when the operation causes overflow 2. Which of the following is true regarding the H flag of the status register SREC (a) His set when there is a borrow during a subtraction (b) His set when the operation is negative (C) H is set when the operation result is zero (d) H is set when there is a carry from bit 3 to bit 4 (D)3. Which of the following instructions is wrong? (a) ld ro,0x30 (b) Ids 11, 0x1000 (c) Idd r10,Y+20 (d)st 116,-Z 4. Which register is used to specify the target address for the indirect jump instruction (IJMP)? (a) X pointer (b) Z pointer (c) Y pointer (d) EIND register 5.If you want to copy the contents of register ro to 117, which of the following instruction should be used? (a) Idi 117,ro (b) Idd 17, ro(c) ld ro, 117 (d) mov 117, ro 6. Assume that the contents of Z is ox1000, then which of the following data memory location receives the value of ro after the execution of the instruction "std Z 10, ro"? (a) location at ox100A (b) location at ox1009 (c) location at 0x1000 (d) location at ox1020 ( 7. If [r3] = oxD5, and C flag is o, which of the following is correct after the execution of the instruction "asr r3"? (a) [13] = EA, C =0 (b) [13] = 0xEA, C=1(c) [r3] = OxAA, C = 0 (d) [r3] = oxBB, C =1 ( )8. Which of the following instructions can be used to access the contents of a location in program memory? (a) Idd (b) Id (c) Ipm (d) std 9. When does a for-loop evaluate the loop termination condition? (a) at the start of the loop (b) in the middle of the loop (c) at the end of the loop (d) can do it any place ( )10. Assume that [ro] = OxAA, and [n] = 0x55, what will be the new value of ro after the execution of the instruction "eor ro, r"? (a) ox44 (b) oxoo (c) oxFF(d) ox88 ( 11. After the execution of "Idi ZL,low(ox2010

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!