Trace_Out

include debug.inc

Trace_Out String, nocrlf


The Trace_Out macro calls the Out_Debug_String service to display the given string.

Parameters

String

Specifies the string to display. The string must be enclosed in double quotation marks. The string can contain register placeholders in the same forms as described for the Out_Debug_String service.

nocrlf

Specifies whether the macro should not append a newline and carriage return character combination to the end of the string. If the parameter is not given, the macro appends the character combination by default.

Return Value

This macro has no return value.

Comments

The assembler generates code for the macro only if the DEBUG constant is defined before including the DEBUG.INC file.

Examples

The following example writes a string to the debugging device:

Trace_Out "Element not found"

The following example writes a string containing the value of the AX register to the debugging device:

Trace_Out "AX value is #AX"

See Also

Out_Debug_String