MASM 5.10 MACRO.DOC: Output

ID Number: Q34577

5.10 | 5.10

MS-DOS | OS/2

Summary:

The following information was taken from the MASM Version 5.10

MACRO.DOC file.

More Information:

OUTPUT

@DispCh (02h)

Displays one or more characters to screen

Syntax: @DispCh char [,char]...

Arguments: char = 8-bit ASCII code

Return: Code in AL

Registers used: AX and DL

@PrtCh (05h)

Prints one or more characters to LPT1

Syntax: @PrtCh char [,char]...

Arguments: char = 8-bit ASCII code

Return: Code in AL

Registers used: AX and DL

@DispStr (09h)

Displays a $-terminated string

Syntax: @DispStr &address [,segment]

Arguments: address = Address of string terminated by

"$" (24h)

segment = Segment of address string (DS if not

given)

Return: None

Registers used: AX and DS