interpret-indirect-addressing-mode-example-in-assembly

Today one of my friend asked me to interpret below assembly instruction for him, so this post 🙂

The instruction  have below format,
[terminal]
mov -0x17( ,%ebx,4)
[/terminal]

It is one of indirect addressing modes, so this should be read in such a way that,

[terminal]
( ebx * 4 ) – 0x17
[/terminal]

What that basically means is that

IR * Width + offset

Digiprove sealCopyright secured by Digiprove © 2020 Humble Chirammal