Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 month ago

Basic Assembly question?

MIPS 32 Assembly

a. Suppose we define the following array and the array starts from the address 0x10010004.

.data MyArray: .word 0,1,2,3,4Show how the array will be stored in memory. (Make your answer clear whether your value is in hex or decimal or binary.)

Address                  Data

0x10010014

0x10010010

0x1001000C

0x10010008

0x10010004

0x10010000

b. How will the answer change if we have .byte in the array instead of .word?

.data MyArray: .byte 0,1,2,3,4

There are no answers yet.
Be the first to answer this question.