Select Page

Brookhaven College User Data Declarations Lab Report

Question Description

Use the following data declaration for all the questions below.

.data

n: .word 0x5350494d

p: .word 0x20693265

q: .word 0x61207573

r: .word 0x0072206c

s: .word 0x2073696d

t: .word 0x756c6174

u: .word 0x37412066

v: .word 0x64636261

w: .word 0xc561726e

x: .word 0x9350494d

y: .word 0x4d495033

z: .word 0x20617373

str: .asciiz “hello worldn”

Remember that user data declarations start at location 0x 1001 0000, and the data is inserted into memory exactly in the order that it is declared. For purposes of this test, assume that the memory readouts use Big Endian convention.

Assuming [$a1] = 0x10010000 and [$s2] = 0x20736960. After executing the following instruction: sw $s2, 4($a1),

what number is stored in data memory and at what address? (check all that apply)

Number stored is 0x10010000

Number is stored at address 0x10010004

Number stored is 0x20736960

Number is stored at address 0x10010000

Describe in words what the instruction sw $Rt offset($Rs) does.

After executing the following instruction: lw $t2, s,

what number is loaded in $t2 and from what data memory address was it taken? (check all that apply)

None of the answers

Number loaded in $t2 is 0x2073696d

Number loaded in $t2 is 0x10010010

Number was taken from address 0x10010010

Describe in words what the instruction lw $Rt label does.

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."

Order Solution Now