PLEASE HELP WITH ALL OF THEM. I keep getting them all wrong, thank you in advanc
ID: 3067692 • Letter: P
Question
PLEASE HELP WITH ALL OF THEM. I keep getting them all wrong, thank you in advance!
QUESTION 6 What is the smallest value that can be written to the address of the LED array in order to turn on all 8 LEDs? 0b1111 Oxf 256 Oxff Oxf01000ff QUESTION 7 Which value, when written to the memory address of the LED array, will turn on LEDs 0, 2, and 4? 0b111 0b01010 0b10101 420 QUESTION 8 Assume that register $s1 contains 0xf0100000. Which instruction will copy the current value of the switches into register $t2? addu $t2, $s1, $s1 li $t2, Oxf0100000 lw $s1, 0($t2) lw $t2, 0($s1) sw $s1, 0(St2) sw $t2, 0($s1)Explanation / Answer
Question- 6
what is the smallestvalue that can be written to the address of the LED array in order to turn all 8 LEDs?
All LEDs will glow only when all the LEDs will get logic 1 at the same time. So minimum value will be 0xff, because 0xff = 0b11111111 i.e. all LEDs glowat the same time. PLP tool accepts binary, hex, octal and ASCII values, hence any one can be used.
Question- 7
which value, when written to the memory address of the LED arry, will trun on LEDs 0,2, and 4?
LED on =1, LED off =0
when written to the memory address of the LED arry, will trun on LEDs 0,2, and 4 value is 0b10101.
Question- 8
Assume that register $s1 contains 0xf0100000. which which instruction will copy the current value of the switches into register $t2?
li $t2, 0xf0100000
Question- 9
Assume that register $s3 contains 0xf0200000 and register $t4 contains 0b101. which instruction will trun on LEDs2 and 0?
addu $s3,$s3,$t4
As per chegg policy we need to solve 4 sub parts per question. please post the remaining questions in another post.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.