Motorola Axiom CMD11E1 Podręcznik Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 101
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
62 CHAPTER 5. TABLES
init equ $ffa9
input equ $ffac
output equ $ffaf
outlhlf equ $ffb2
outrhlf equ $ffb5
outa equ $ffb8
out1byt equ $ffbb
out1bsp equ $ffbe
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
yesstr fcc / is a vowel/
fcb 10, 4
nostr fcc / is not a vowel/
fcb 10, 4
; setup the table of vowels
vowels fcc /aeiouAEIOU/
nvowels equ 10
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 100 101

Komentarze do niniejszej Instrukcji

Brak uwag