SYSTEM CALLS
M68CPU32BUG/D REV 1
5-11
.INCHR
Input Character Routine
.INCHR
5.2.7
Input Character Routine
SYSCALL
.INCHR
TRAP CODE:
$0000
Reads a character from the default input port. The character remains in the stack.
Entry Conditions:
SP ==>
Space for character <byte>
Word fill <byte>
Exit Conditions:
SP ==>
Character <byte>
Word fill <byte>
EXAMPLE
SUBQ.L
#2,A7
Allocate space for result
SYSCALL
.INCHR
Call .INCHR
MOVE.B
(A7)+,D0
Load character in D0
Содержание 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 ...