How Do I Refer to the Pointer and Index Register Indirectly?

In systems programming, how do I refer to the pointer and index register indirectly? Please let me know in relation to systems programming, CSC 490.

The answer to your question varies based on the type of assembly language you are using. Assembly languages are particular to specific families of CPUs (i.e. 80×86, 68XXX).

For the 8088, indirect mode looks like:

ADD CL, [BX]

For the Power Architecture, indirect mode looks like:

lwz r4, 0×1000(r3)

Tags:
This entry was posted in Pointer Puppies and tagged . Bookmark the permalink.

One Response to How Do I Refer to the Pointer and Index Register Indirectly?

  1. TK "Snobol" Erlang says:

    The answer to your question varies based on the type of assembly language you are using. Assembly languages are particular to specific families of CPUs (i.e. 80×86, 68XXX).

    For the 8088, indirect mode looks like:

    ADD CL, [BX]

    For the Power Architecture, indirect mode looks like:

    lwz r4, 0×1000(r3)
    References :
    Principles of Computer Organization and Assembly Language Using the Java Virtual Machine (Juola).

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>