Compiler Directives


 

Compiler directives allow the programmer to control the compilation process. There are directives to:

 

%ASSEMBLY

Define the default assembly name for NETOBJECTs.

%AUTODIM

Define the size after which auto load DIM variables are employed.

BYTE

Enter absolute machine code in bytes using data labels.

BYTEX

Enter absolute machine code in bytes using execution labels.

CIFxx

Use an alternate form of %IFxx instructions.

CONST

Define a numeric constant that may be used for a literal or constant.

CMPVER

Returns a value for a version string.

DEFINE

Substitute a string of one or more characters for a label.

DEFINED

Determine if a label is a data or executable reference.

%ENCRYPTON

Enable data initialization string encryption in the object code file.

%ENCRYPTOFF

Disable data initialization string encryption in the object code file.

ENTERZ and EXITZ

Switch between PL/B and assembler op codes.

EQUATE (EQU)

Define constants to the compiler.

EXTERNAL

Defines an execution label in another separately compiled program.

FDECLARED

Determine if a function label is a data or executable reference.

IF

Explains several conditional compilation instructions.

%IF

Describes several nested conditional compilation instructions.

INCLUDE

Compile code from another file.

LIKE

Create a new variable based on an existing variable.

LISTON and LISTOFF

Enable or disable listing output.

MACRO

Define a macro.

MDEFAULT

Determine whether a MACRO replacement parameter is using the default value.

MDEFINED

Determine if a label is a MACRO or DEFINE label type.

MDELM

Configure MACRO delimiting characters.

MEND

End a MACRO definition.

MGIVING

Indicates whether a macro parameter is specified as the string 'giving'.

MLITERAL

Define a MACRO literal.

MNULL

Indicates whether a macro parameter is specified as a null literal.

MUNDEF

Undefine a MACRO or DEFINE label.

MUSING

Indicates whether a macro parameter is specified as the string 'using'.

PDECLARED

Determine if a program label is a data or executable reference.

PLFORM

Include a PLFORM definition module.

PROFILE

Define WINAPI statement format.

REDEFINE

Change a previously defined DEFINE label.

%RUNNAMEON

Instruct CREATE to automatically generate RUNNAME property values.

%RUNNAMEOFF

Disable the genertion of RUNNAME property values by the CREATE instruction.

SKIP

Output hexadecimal zeros in the User Data Area.

%STOREPLF

Collect PLFORM information.

SUBTITLE

Define a second line of title for a program listing.

TABPAGE

Obsolete instruction.

TITLE

Change the title for a program listing.

TRACE

Compile special code for tracing program execution.

UNDEFINE

Delete a previously defined DEFINE label.

UNIXCMD

Add a command string to the object code header.

VERB

Create a user defined verb.

WARNING

Include a warning message in compiler output.

WORD

Enter absolute machine code in words using data labels.

WORDX

Enter absolute machine code in words using execution labels.

%XREFON/%XREFOFF

Control the generation of the cross reference compiler listing.

  

 



PL/B Language Reference %ASSEMBLY