Motorola M68CPU32BUG Manuel d'utilisateur Page 116

  • 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 115
SYSTEM CALLS
M68CPU32BUG/D REV 1 5-2
It is necessary to create an equate file with the routine names equated to their respective codes, or
download the archive file C32SCALL.ARC from the Motorola FREEWARE Bulletin Board
(BBS). For more information on the FREEWARE BBS, reference customer letter
M68xxxEVx/L2.
When using the CPU32Bug one-line assembler/disassembler, the SYSCALL macro and the
equates are pre-defined. Input: SYSCALL, space, function, carriage return.
EXAMPLE
CPU32Bug>M 3000;DI<CR>
0000 3000 00000000 ORI.B #$0,D0? SYSCALL .OUTLN <CR>
0000 3000 4E3F0022 SYSCALL .OUTLN
0000 3004 00000000 ORI.B #$0,D0? . <CR>
CPU32Bug>
5.1.2 Input/Output String Formats
Within the context of the TRAP #15 handler are three string formats:
Pointer/Pointer Format The string is defined by a pointer to the first character and a
pointer to the last character + 1.
Pointer/Count Format The string is defined by a pointer to a count byte which
contains the count of the characters in the string followed by
the string itself.
Line Format A line is defined as a string followed by a carriage return and a
line feed.
5.2 SYSTEM CALL ROUTINES
Table 5-1 summarizes the TRAP #15 functions. Refer to the appropriate paragraph for a
description of the available system calls.
Vue de la page 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 195 196

Commentaires sur ces manuels

Pas de commentaire