What is pseudo-op in assembly programming?

21,560

Pseudo op stands for "pseudo operation" and is sometimes called "assembler directive". These are keywords which do not directly translate to a machine instruction. Examples are the ones mentioned in your questions or .data, .def, .desc, .dim, .double, .eject, .else, .elseif, .end and many more. Refer to your assembler manual.

Share:
21,560
program-o-steve
Author by

program-o-steve

I love to write code. When i am not writing code , i am anxious to do so ! Anyway if am anxious, typing code is anxiolytic. Learning ruby these days.

Updated on June 11, 2020

Comments

  • program-o-steve
    program-o-steve about 4 years

    What is pseudo-op in assembly programming?

    I read a statement at this page:

    "If a particular symbol appears in the source code, but is not found in the symbol table, then the symbol was never defined. That is, the assembler did not encounter the symbol in the label field of any of the statements scanned during the first pass, or the symbol was never the subject of a .comm, .csect, .lcomm, .sect, or .set pseudo-op."

  • Gunther Piez
    Gunther Piez over 12 years
    This is impossible to answer generally, each has a different effect. Look at sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops for a list.
  • Gunther Piez
    Gunther Piez over 12 years
    That depends on the directive.