0
$\begingroup$

By other words, can anyone explain how indirect addressing works?

I red MARIE's LoadI X over and over and still didnt understand the logic behind it.

LoadI X loads the value which is stored at address of the address X into the AC

Thanks for any answer.

$\endgroup$

1 Answer 1

3
$\begingroup$

Let the variable X contain the value 0xABC, assumed to be a valid memory address, and let the address of X be 0xDEF.

Then X denotes the value of what is stored at 0xDEF and *X (indirect addressing) is the value of what is stored at 0xABC (not said here).


Without indirect addressing, there would probably be no computers, because only dumb programs could be written.

$\endgroup$
1
  • $\begingroup$ Thanks for clarification! $\endgroup$
    – damacaner
    May 30, 2022 at 10:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.