The compilers (C, C++, PL/1, maybe COBOL, too) don't produce
correct ASSEMBLER syntax, but instead they provide as much information
as possible, using a somehow extended syntax which is not formally correct
ASSEMBLER. In this case, you have a symbolic name (#MX_TEMP1)
AND you have the offset and base reg, which is the resolution of the
symbolic name.
r13 = D
152 = 0x098

This may be a little confusing to "real" ASSEMBLER programmers ...

HTH

kind regards

Bernd



Am 30.06.2013 18:04, schrieb Paul Gilmartin:
Looking, for the first time, at the pseudo assembly listing
produced by the C/C++ compiler, I see such as:

  0000FA  4110  D098        000014 |                 LA       
r1,#MX_TEMP1(,r13,152)

What are the three operands inside the parentheses?

Or did I just pay insufficient attention to the "pseudo" part?

-- gil

Reply via email to