This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请问,汇编语言中指针如何移动?



例如传入参数A8是一个int型指针, 我想要将指针指向第N个数据,请问应该用什么指令?

我现在是这样做的:

先将N乘以4(假设A4 = N*4),再通过 

ADD A8,A4,A8  

这种方法来移动,请问通常指针移动都需要这样吗,有没有简单一些的指令? 多谢了!