Motorola Axiom CMD11E1 Guía de usuario Pagina 69

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 100 101

Comentarios a estos manuales

Sin comentarios