Motorola Axiom CMD11E1 Guide de l'utilisateur Page 12

  • 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 11
12 CHAPTER 1. INTRODUCTION TO HC11
>ASM C200
C200 STX $FFFF
>LDAA D000
B6 D0 00
C203 STX $FFFF
>ADDA D001
BB D0 01
C206 STX $FFFF
>ADDA D002
BB D0 02
C209 STX $FFFF
>STAA D003
B7 D0 03
C20C STX $FFFF
>SWI
3F
C20D STX $FFFF
> CTRL-A
Note that to get out of the ASM command you need to type the control-A
character.
Exerecises
1. Enter the program shown above and verify that the program is entered
correctly.
2. Search through the memory starting at location $E000 to find the string
User Fast Friend. On my HC11 it is at location E610. Yours may be
different. Locate the string and find out where the string is stored, i.e. the
address of the first character. Modify the value E610 in what follows with
the address you found.
Enter the following program starting at location C300 and run it. What is
the result of running your code?
LDX #E610
JSR FFC7
SWI
3. (a) Modify the above program by changing E610 to D200.
Vue de la page 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 100 101

Commentaires sur ces manuels

Pas de commentaire