SYSTEM CALLS
M68CPU32BUG/D REV 1 5-16
.OUTLN Output String Using Pointers .OUTLN
.OUTSTR .OUTSTR
5.2.12 Output String Using Pointers
SYSCALL .OUTLN
TRAP CODE: $0022
SYSCALL .OUTSTR
TRAP CODE: $0021
.OUTSTR outputs a string of characters to the default output port. .OUTLN outputs a string of
characters followed by a <CR><LF> sequence.
Entry Conditions:
SP ==> Address of first character <long>
+4 Address of last character + 1 <long>
Exit Conditions:
SP ==> Top of stack
EXAMPLE
If A0 = start of string and A1 = end of string+1
MOVEM.L A0/A1,-(A7)
Load pointers to string and print it
SYSCALL .OUTSTR
Commentaires sur ces manuels