Output Character Routine (.Outchr) - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

.OUTCHR
5.2.11 Output Character Routine
SYSCALL
TRAP CODE: $0020
Outputs a character to the default output port.
Entry Conditions:
SP ==>
Exit Conditions:
SP ==>
EXAMPLE
MOVE.B
D0,-(A7)
SYSCALL
.OUTCHR
M68CPU32BUG/D REV 1
Output Character Routine
.OUTCHR
Character <byte>
Word fill <byte> (Placed automatically by the MCU)
Top of stack
Character is sent to the default I/O port.
Send character in D0
To default output port
5-15
SYSTEM CALLS
.OUTCHR

Advertisement

Table of Contents
loading

Table of Contents