Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: x86 asm 中的括号是什么意思?
我对此感到困惑有一段时间了。“si”和“[si]”有什么区别?(这是使用 16 位 NASM 语法)
si指寄存器si。[si]指的是 指向的地址si。
si
[si]
mov ax, si // Copy the "si" to "ax". mov ax, [si] // Load the value stored at address "si" into "ax".