Question

2. Review following MIPS code executed within MARS. .data 0x10010004 var a: .byte 0xab 0xcd var b: .word 0x12345678 var_c: .a
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)
Memory Table :-
0x10010000 -
0x10010001 -
0x10010002 -
0x10010003 -
0x10010004 - 0xab
0x10010005 - 0xcd
0x10010006 - 0x78
0x10010007 - 0x56
0x10010008 - 0x34
0x10010009 - 0x12
0x1001000A - \0
0x1001000B - \0
0x1001000C - p
0x1001000D - @
0x1001000E - 0xbc
0x1001000F - 0x09
0x10010010 -
0x10010011 -
0x10010012 -
0x10010013 -
0x10010014 -
0x10010015 -
0x10010016 -
0x10010017 -

b)
Output will be :- \0\0p@

Add a comment
Know the answer?
Add Answer to:
2. Review following MIPS code executed within MARS. .data 0x10010004 var a: .byte 0xab 0xcd var b: .word 0x12345678 var_c: .asciiz "1ONOpe" 0 is NULL character var_d: .half 0x9abc .text m...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT