include debug.inc Mono_Out String, nocrlf |
The Mono_Out macro calls the Out_Mono_String service to display the given string.
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_Mono_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.
This macro has no return value.
The assembler generates code for the macro only if the DEBUG constant is defined before including the DEBUG.INC file.
The following example writes a string to the secondary display device:
Mono_Out "Element not found"
The following example writes a string containing the value of the AX register to the debugging device:
Mono_Out "AX value is #AX"