Motorola Axiom CMD11E1 Betriebsanweisung Seite 71

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 101
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 70
5.5. WORKING WITH TABLES 71
lkploop
tstb
beq notthere *this is the basic counting loop
cmpa 0,x
beq foundit
inx
decb
bra lkploop
notthere
clc
rts
foundit
sec
rts
Exercise: Type the above program and enter the input: 1-800-UMD-ALUM. You
should see the following output. Clearly explain how the translation gets done.
=====================================
Lab on using Tables
Name: _____________________
This program is an infinite loop!
Hit the reset button to quit
=====================================
1 1
- -
8 8
0 0
0 0
- -
U 8
M 6
D 3
- -
A 2
Seitenansicht 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 100 101

Kommentare zu diesen Handbüchern

Keine Kommentare