Question: Please help with this. I need help understanding how to do A, B, and C. 1. Use th e following program for this question data
1. Use th e following program for this question data halfword 7, 3 num: word 9 globl text main main: lui to, 0x1001 top: lw $tl, -4 (to) beq $s0, $s2, end jal func add $s0, $s, $t0 andi $80, $0, 0xFFFF top bne $s0, $0, top end: func: Sra a. There are 5 labels in this code. If the data section starts at 0x 10010000 and the text starts at 0x00400400, what is the yalue of each label? Include all labels from the program. 2.5 points b. What is the addressing mode for each instruction? There are 10 unique instructions 2.5 points c. "Assemble" the program by converting it to the machine code (hex). 15 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
