Tco 5 if we need a loop of 20000 iterations then we

This preview shows page 9 - 14 out of 22 pages.

Question 2.Question :(TCO 5) If we need a loop of 20,000 iterations, then we must use ________location(s) of RAM for counter.Student Answer:fouronetwo100
Instructor Explanation:pages 138-140, Course TextbookPoints Received:3 of 3Comments:Question 3.Question :(TCO 5) Upon execution of RTS (return from subroutine) instruction, which of the following registers is incremented?
Instructor Explanation:page 119, Course TextbookPoints Received:3 of 3Comments:Question 4.Question :(TCO 5) The JMP is ________-byte instruction.
Instructor Explanation:pages 112-114, Course TextbookPoints Received:3 of 3Comments:Question 5.Question :(TCO 5) For the program below, give the number of iterations in the loop.R0 EQU $1000R1 EQU $1001I_COUNT EQU 200 J_COUNT EQU 250LDAA #I_COUNTSTAA R0L2 LDAA #J_COUNTSTAA R1L1 CLRANOPNOPDEC R1BNE L1DEC R0BNE L2H_1 BRA H_1
1200Instructor Explanation:pages 110-112, Course TextbookPoints Received:0 of 3Comments:Question 6.Question :(TCO 5) Write an assembly-language program to add $40 to each element of list1 and store it to the corresponding element of list2. Use aloop.ORG $2000LIST1 DC.W $21, $442, 3, 4, 5LIST2 DS.WCOUNT DS.B 1
STD0, YINXINXINYINYDECBBNETHERE1.Question :(TCO 8) In the HCS12, which of the following registers is used to make Port P output or input?
Instructor Explanation:pages 138-140, Course TextbookPoints Received:3 of 3Comments:
Question 2.Question :(TCO 8) To make PORTB an output port, we must write __________ to DDRB register.
Instructor Explanation:pages 138-140, Course TextbookPoints Received:3 of 3Comments:

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture