Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3 (2 points) Saved Question 3 options: VT R3 _ 43 V 24 k Which Resistor dissipates the least amount of power in the
Question 3 (2 points) Saved Question 3 options: VT R3 _ 43 V 24 k Which Resistor dissipates the least amount of power in the following circuit: R1r R2 or R3? The Resistor is: l Question 1 (2 points) Saved Question 1 options: VT R1 R2 R3 60 V 30 kn 15 kQ 6 kn The current through R1 is how many mA? The current through R1 is MA.Question 2 (2 points) Saved Question 2 options: VT R3 43 v 24 kn Which Resistor dissipates the most amount of power in the following circuit: R1: R2 or R3? The Resistor is: l Question 13 options: 1 ; BHI 2. asm 2 : 3 What value is stored at the memory address designed by Result 4 after the execution of Line 18 in the following code? 5 Ensure you answer includes the "$" sign - e.g $93 7 org $1000 9 Result ds 1 11 org $2000 12 1daa #$F1 13 cmpa #$FO 14 bhi Here 15 1daa #$44 16 bra There 17 Here 1daa #$22 18 There staa Result Answer:Question 20 (2 points) Saved Question 20 options: The value of the current through R1 in the above circuit is howr many mA? The current through R1 is: I mix. Question 21 (2 points} Saved Question 21 options: The value of the voltage at point A in the above circuit is how many volts? The voltage at point A is: I V. Question 22 (2 points} Saved Question 22 options: The value of the current through R1 in the above circuit is howr many mA? The current through R1 is: l mA. 4 ; Exm_5vap . a 5n: 5 6 26-3-3 org 52900 1' 20-30 C! 20 90 1d.- 152000 a 9 2003 BE 22 1am. 3-522 18 2-3-35 c6 11 ldab #51! 1| 2-9-37 36 NM 12 2-9-35 3'.' palm 13 2009 16 23 C-cl Jar Swap 14 200: 31' sari 15 16 Eta-Dd 32 Swap pull 1? 200:- 33 pull: 19 200: 3d no 19 and A very keen student who attended all course lectures questioned me regarding the use of the stack to swap two values. As such, the student went home and having nothing to do between 3 am. and 5 am. and wanting to gain thousands and thousands of marks. wrote the following code in Assembly language to swap the contents of registers A and B using a subroutine. The expected behaviour of the program is illustrated in the following test plan. Expected Behaviour Test Aocumulator A contents Accumulator B contents Plan BEFORE Swapping the $22 $44 values AFTER Swapping the $44 $22 values After reviewing the above .lst le. answer the following questions in the boxes provided - ensure you include the 95 sign in front of your answers: What is the 8-bit HEX value in Accumulator A after line 16 is executed? |= After reviewing the aloove .lst le. answer the following questions in the boxes provided - ensure you include the 95 sign in front of your answers: What is the 8-bit HEX value in Accumulator A after line 16 is executed? I: What is the 8-bit HEX value in Accumulator B after line 1? is executed? I What is the 16-bit HEX value in PC after line 18 is executed? l Does the code correctly swap the values of A and B? {Answer: Yes or No) l Question 8 (2 points) Saved Initia Value Initial Value Correction Corrected Row C Bit Value of A[7:4] H Bit Value of A[3:0] Factor C Bit Value 0-9 0-9 00 0-8 O A-F 06 O 0-9 0-3 06 A-F 0 0-9 60 9-F 0 A-F 66 10 0 NO UIAWN A-F 1 0-3 66 0-2 0 0-9 60 0- 2 0 A-F 66 0 - 3 0-3 66 As taught in class, add the following BCD Numbers, determine if the results are valid and then select the Row Number on the daa Table above that contains the Correction Factor that would be used for the answer to be a valid BCD number for the given BCD Addition. Question 8 options: 1. Row1 2. Row2 3. Row3 4. Row4 Adding 29 + 81 5. Row5 6. Row6 7. Row7 8. Row8 9. Row93 5 6 Initial Value Initial Value Correction Corrected Row C Bit Value of A[7:4] H Bit Value of A[3:0] Factor C Bit Value 0 0-9 0 0-9 00 0 0-8 0 A-F 06 0 0-9 1 0-3 06 0 A-F 0 0-9 60 1 9-F 0 A-F 66 1 DO YOUAWN A-F 1 0-3 66 1 0-2 0 0-9 60 0-2 0 A-F 66 -- 0-3 - 0-3 66 - As taught in class, add the following BCD Numbers, determine if the results are valid and then select the Row Number on the daa Table above that contains the Correction Factor that would be used for the answer to be a valid BCD number for the given BCD Addition. Question 9 options: 1. Row1 2. Row2 3. Row3 4. Row4 Adding 72 + 42 5. Row5 6. Row6 7. Row7 8. Row8 9. Row9Question 10 (2 points) Saved Question 10 options: 1 ; BEQ 2. asm 2 3 What value is stored at the memory address designed by Result 4 after the execution of Line 18 in the following code? 5 6 Ensure you answer includes the "$" sign - e.g $93 7 8 org $1000 9 Result ds 1 11 org $2000 12 1daa #$OA 13 cmpa #SOB 14 beg Here 15 1daa #$AA 16 bra There 17 Here 1daa #$FF 18 There staa Result Answer:Question 11 (2 points) Saved Question 11 options: 1 ; BLS 1. asm I 2 What value is stored at the memory address designed by Result 4 after the execution of Line 18 in the following code? 5 6 Ensure you answer includes the "$" sign - e.g $93 8 org $1000 9 Result ds 16 1 1 org $2000 12 1daa # $10 13 ompa #$OF 14 bls Here 15 1daa #$88 16 bra There 17 Here 1daa #$44 18 There staa Result Answer:Question 12 (2 points) Saved Question 12 options: 1 : BLS_:.as:I 2 : 3 : [hat value is scored at the memory address designed by Result ' : after the execution of Line .13 in the foilaving code? 5 ,- 5 : Ensure you answer includes the "5" sign - ea: 3.93 7 : a on 51009 9 Result: d: J. In 11 erg $2000 :2 1m 9555 13 an): 57? 1-! 111: Here 15 1d.\" 3599 It hr: Then I? Hexe 1d..- I566 13 There em Result 19
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started