Before you insert your own HLASM statements into your C source
file, be aware of the following information:
- The compiler does not recognize either the syntax or the semantics
of the HLASM statements embedded in the C __asm statement.
You need to ensure that the embedded HLASM statements:
- Meet the requirements of the assembly step that follows the compilation
step.
- Function correctly when embedded in the compiler-generated HLASM
source file.
- In the HLASM syntax, the first field is the label field, followed
by the op-code, and the rest of the HLASM instruction. If there is
no label field, you must leave a blank space at the beginning of the
string. Other than this, you can code the rest of the HLASM instruction
as you do in HLASM.
- You do not have to consider HLASM line-width requirements. You
can code an instruction in the code format string continuously, in
accordance with the limitation of the C source file. The C compiler
breaks up a code format string that exceeds 71 characters in the HLASM
output, inserting continuation characters as required.