注意所有声明的变量(使用 DMA 复制的)都是按四字边界对齐的且都是四字的整数倍。
Note that all of the declared variables which will be copied using DMA are aligned on quadword boundaries and are multiples of quadwords.
记住,lqd指令只能从16字节边界加载,所以它会在加载期间忽略最低有效的四位,而只会从内存加载已对齐的四字。
Remember, the LQD instruction only loads from 16-byte boundaries. It will therefore ignore the four least significant bits during the load, and just load an aligned quadword from memory.
因为所有对象都是从8字节边界开始,并且大小可以被8整除,所以底部的3位不用于表示大小;我们将其作为标志,用于表示对象的不同状态。
As all objects start on an 8 byte boundary, and the size is divisible by 8, the bottom 3 bits are not used for the size; we use them for flags to indicate different states of the object.
应用推荐