Motorola M68CPU32BUG Manuel d'utilisateur Page 71

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 70
SYSTEM CALLS
M68CPU32BUG/D REV 1 5-30
.WRITE Output String Using Character Count .WRITE
.WRITELN .WRITELN
. . . . . prints this message:
MOTOROLA QUALITY!
Using .WRITELN instead of .WRITE outputs this message:
MOTOROLA
QUALITY!
NOTE
The string must be formatted such that the first byte (the byte
pointed to by the passed address) contains the byte count of the
string (pointer/count format – see 5.1.2).
SYSTEM CALLS
M68CPU32BUG/D REV 1 5-27
.WRITD Output String with Data ..WRITD
.WRITDLN .WRITDLN
5.2.22 Output String with Data
SYSCALL .WRITD – Output string with data
TRAP CODE: $0028
SYSCALL .WRITDLN – Output string with data and <CR><LF>
TRAP CODE: $0025
These trap functions use the monitor I/O routine which outputs a user string containing
embedded variable fields. .WRITD outputs a string of characters with data and .WRITDLN
outputs a string of characters with data followed by a carriage return and line feed. The user
passes the starting address of the string and the data stack address containing the data which is
inserted into the string. The output goes to the default output port.
Entry Conditions:
Eight bytes of parameter positioned in the stack as follow:
SP ==> Address of string <long>
Data list pointer <long>
A separate data stack or data list arranged as follows:
Data list pointer => Data for 1st variable in string <long>
Data for next variable <long>
Data for next variable <long>
Exit Conditions:
SP ==> Top of stack (parameter bytes removed)
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 97 98

Commentaires sur ces manuels

Pas de commentaire