Motorola Axiom CMD11E1 Guide de l'utilisateur Page 69

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 101
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 68
5.5. WORKING WITH TABLES 69
out2bsp equ $ffc1
outcrlf equ $ffc4
outstrg equ $ffc7
outstrgo equ $ffca
inchar equ $ffcd
vecinit equ $ffd0
org $3000
; setup some strings ...
preamble
fcc /=====================================/
fcb 10
fcc /Lab on using Tables/
fcb 10, 10 *use 10 to start a new line
fcc /Name: _____________________/
fcb 10
fcc /This program is an infinite loop! /
fcb 10
fcc /Hit the reset button to quit/
fcb 10
fcc /=====================================/
fcb 10,10,10, 4
; setup the tables
alphabet fcc /ABCDEFGHIJKLMNOPQRSTUVWXYZ/
nums fcc /22233344455566677778889999/
nalphabet equ 26
org $2100
ldx #preamble
jsr outstrg
jsr outcrlf
mainloop
jsr inchar
jsr ucase ; convert to upper case if necessary
jsr translate ; perform the translation
psha ; save it in the stack for now
Vue de la page 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 100 101

Commentaires sur ces manuels

Pas de commentaire