Motorola M68CPU32BUG Instrukcja Użytkownika Strona 41

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 68
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 40
OPERATING INSTRUCTIONS
M68332BCC/D 3-13 MOTOROLA
REV 1
Enter the periodic interrupt timer (PIT) time-out program starting at address $5000:
EXAMPLE PROGRAM
PROGRAM DESCRIPTION
CPU32Bug>MM 5000;DI<CR> Memory modify at location $5000 with
disassembly option.
5000 MOVE.L #$501C,$78<CR> Set-up level six vector table.
5008 MOVE.L #$061E0120,$FFFA22<CR> Initialize PIT.
5012 LPSTOP #$2500<CR> Execute LPSTOP Instruction.
5018 BRA.W $5012<CR> Loop
501C MOVEA.W #$5100,A0<CR> Beginning of message.
5020 MOVEA.W #$510E,A1<CR> End of message.
5024 BTST.B #$0,$FFFC0C<CR> Check for SCI not busy.
502C BEQ.B $5024<CR> Branch until free.
502E MOVE.B (A0)+,$FFFC0F<CR> Send message byte.
5034 CMPA.W A0,A1<CR> Check for end of message.
5036 BNE.W $5024<CR> Branch until done.
503A RTE<CR> Return from print routine.
Enter the ASCII code for the output message, PIT TIME-OUT. Each time this message appears
when running the program, indicates the program has completed a loop. Enter the following
ASCII code at memory location $5100:
CPU32Bug>MS 5100 ’PIT TIME-OUT’ODOA<CR> Memory modify at location $5100.
Przeglądanie stron 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 67 68

Komentarze do niniejszej Instrukcji

Brak uwag