<<< M08.ASM | Index | The input Macro (read ASCII characters) >>> |
The output macro displays a string of characters starting at source location in the data segment:
output source
where source is the beginning of a null-terminated string in memory.
For example:
.CONST ; Constant data segment TXTPROMPT BYTE "HELLO", 0 ENDL BYTE 13, 10, 0 .. .CODE ; Code segment .. output TXTPROMPT ; print HELLO output ENDL ; print new line ..
Characters starting at source address are displayed until a null character is reached.
The null character terminates the output.
Flags or registers affected: none.
<<< M08.ASM | Index | The input Macro (read ASCII characters) >>> |