登记册的内容是什么? MIPS32组装

时间:2014-03-23 19:35:05

标签: memory assembly model mips

我目前正在学习装配如何工作并假设存储模型:

Label    Content     Address
 x:         3        0x0000
 y:         7        0x0001
 z:         2        0x0002
point:     0x00      0x0003
           0x00      0x0004
           0x00      0x0005
           0x07      0x0006
array:      'H'      0x0007
            'I'      0x0008
            '\n'     0x0009
            '\0'     0x000A
main: lw $t0, array  0x000B
            -        0x000C
      la $t1, point  0x000D

在主程序中,$t0的内容是"HI"还是'H''I''\n''\0'

如果我要将点的地址加载到$ t1,这是否意味着它会将0x00030x00040x00050x000的地址加载到$ T1?对于指针point,我看到它指向0x007的地址,那么这是否意味着它指向数组的开头?

我只需要澄清。

0 个答案:

没有答案
相关问题