Motorola M68CPU32BUG Manuel d'utilisateur Page 125

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 196
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 195 196

Commentaires sur ces manuels

Pas de commentaire