What is pseudo-op in assembly programming?
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.
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, 2020Comments
-
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 over 12 yearsThis 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 over 12 yearsThat depends on the directive.