Motorola Axiom CMD11E1 Guía de usuario Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 76
Chapter 7
Interrupt Processing
7.1 Objective
To become familiar with interrupt processing.
7.2 Background
In an earlier lab, you had to generate a 30.52 Hz square wave signal on PA4 pin.
The code for generating the square wave is given below for your reference. Make
sure that you run the program and verify that you get the square wave before
proceeding further. Also, to understand this lab, you must connect the PA4 pin
to a oscilloscope and see the square waves.
; Various defines go here ...
ORG $3000 don’t forget the $
ME FCC /Your name/
FCB 10
FCC /ECE 372/
FCB 10
FCC /Date the program was last changed/
FCB 10, 10, 4
ORG $2000 DONT FORGET THE $
LDX #ME
JSR OUTSTRG ; MAKE SURE YOU HAVE EQU FOR OUTSTRG
LOOP1
77
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 100 101

Comentarios a estos manuales

Sin comentarios