The following data words are stored in memory starting ataddress 0x00400024: Add
ID: 3614149 • Letter: T
Question
The following data words are stored in memory starting ataddress 0x00400024:
Address
32-bit contents
[0x00400024]
0x34040048
[0x00400028]
0x3402000b
[0x0040002c]
0x0000000c
[0x00400030]
0x34040065
[0x00400034]
0x0000000c
[0x00400038]
0x3404006c
[0x0040003c]
0x0000000c
[0x00400040]
0x0000000c
[0x00400044]
0x3404006f
[0x00400048]
0x0000000c
[0x0040004c]
0x34040021
[0x00400050]
0x0000000c
[0x00400054]
0x3402000a
[0x00400058]
0x0000000c
If execution is started at location 0x00400024, explain whatwould happen.
Address
32-bit contents
[0x00400024]
0x34040048
[0x00400028]
0x3402000b
[0x0040002c]
0x0000000c
[0x00400030]
0x34040065
[0x00400034]
0x0000000c
[0x00400038]
0x3404006c
[0x0040003c]
0x0000000c
[0x00400040]
0x0000000c
[0x00400044]
0x3404006f
[0x00400048]
0x0000000c
[0x0040004c]
0x34040021
[0x00400050]
0x0000000c
[0x00400054]
0x3402000a
[0x00400058]
0x0000000c
Explanation / Answer
The following data words are stored in memory starting ataddress 0x00400024:
Address
32-bit contents
[0x00400024]
0x34040048 ori $r4,r0,72 #r4=72
[0x00400028]
0x3402000b ori $r2,r0,11 #r2=11
[0x0040002c]
0x0000000c syscall
[0x00400030]
0x34040065 ori $r4,$r0,101 #r4=101
[0x00400034]
0x0000000c syscall
[0x00400038]
0x3404006c ori $r4,$r0,108 #r4=108
[0x0040003c]
0x0000000c syscall
[0x00400040]
0x0000000c syscall
[0x00400044]
0x3404006f ori$r4,$r0,111 #r4=111
[0x00400048]
0x0000000c syscall
[0x0040004c]
0x34040021 ori$r4,$r0,33 #r4=33
[0x00400050]
0x0000000c syscall
[0x00400054]
0x3402000a ori $r2,$r0,10 #r2=10
[0x00400058]
0x0000000c syscall
If execution is started at location 0x00400024, explain whatwould happen.
Address
32-bit contents
[0x00400024]
0x34040048 ori $r4,r0,72 #r4=72
[0x00400028]
0x3402000b ori $r2,r0,11 #r2=11
[0x0040002c]
0x0000000c syscall
[0x00400030]
0x34040065 ori $r4,$r0,101 #r4=101
[0x00400034]
0x0000000c syscall
[0x00400038]
0x3404006c ori $r4,$r0,108 #r4=108
[0x0040003c]
0x0000000c syscall
[0x00400040]
0x0000000c syscall
[0x00400044]
0x3404006f ori$r4,$r0,111 #r4=111
[0x00400048]
0x0000000c syscall
[0x0040004c]
0x34040021 ori$r4,$r0,33 #r4=33
[0x00400050]
0x0000000c syscall
[0x00400054]
0x3402000a ori $r2,$r0,10 #r2=10
[0x00400058]
0x0000000c syscall
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.