SYSTEM CALLS
M68CPU32BUG/D REV 1
5-27
.WRITD
Output String with Data
.
.WRITD
.WRITDLN
.WRITDLN
5.2.22 Output String with Data
SYSCALL
.WRITD
– Output string with data
TRAP CODE:
$0028
SYSCALL
.WRITDLN
– Output string with data and <CR><LF>
TRAP CODE:
$0025
These trap functions use the monitor I/O routine which outputs a user string containing
embedded variable fields. .WRITD outputs a string of characters with data and .WRITDLN
outputs a string of characters with data followed by a carriage return and line feed. The user
passes the starting address of the string and the data stack address containing the data which is
inserted into the string. The output goes to the default output port.
Entry Conditions:
Eight bytes of parameter positioned in the stack as follow:
SP ==>
Address of string <long>
Data list pointer <long>
A separate data stack or data list arranged as follows:
Data list pointer =>
Data for 1st variable in string
<long>
Data for next variable
<long>
Data for next variable
<long>
Exit Conditions:
SP ==>
Top of stack (parameter bytes removed)
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...