0 votes
in General Knowledge by (744k points)
What does
movb 24(%rax,%rcx,4), %dl
do? Why does this work?

1 Answer

0 votes
by (744k points)
Best answer
Means read 1 byte from the address (24 + %rax + 4*%rcx) and store it in %dl.

As long as the suffix (b) and the destination register (dl0 are the same size, and 8 byte registers are used to index the memory, this is completely allowed.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.