私は自分のクラスの 1 つの模擬試験を読んでいました。質問のアーキテクチャは x86 です。質問:
Which of the following lines of pseudo C code performs the same operation as the
assembly statement
lea 0xffffffff(%esi), %eax ?
オプション:
a) *(esi-1) = eax
b) esi = eax + 0xffffffff
c) eax = esi - 1
d) eax = *(esi -1)
「リー」操作なので、答えは(c)のはずなのですが、どうやら答えのキーは(a)と書いてあります。これはタイプミスですか?それとも私の理解が悪いだけでしょうか。ありがとうございました。