Motorola M68CPU32BUG Manual de usuario Pagina 125

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 196
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 124
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
Vista de pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 195 196

Comentarios a estos manuales

Sin comentarios