Motorola M68CPU32BUG Manuel d'utilisateur Page 3

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 2
TABLE OF CONTENTS
M68CPU32BUG/D REV 1 vi
LIST OF FIGURES
FIGURES PAGE
1-1. CPU32Bug Operation Mode Flow Diagram ...................................................................... 1-2
1-2. BCC Memory Map............................................................................................................. 1-6
LIST OF TABLES
TABLES PAGE
2-1. Debugger Address Parameter Format................................................................................. 2-5
2-2. CPU32Bug Exception Vectors........................................................................................... 2-8
3-1. Debug Monitor Commands ................................................................................................ 3-1
4-1. CPU32Bug Assembler Addressing Modes......................................................................... 4-7
5-1. CPU32Bug System Call Routines...................................................................................... 5-3
6-1. MCU CPU Diagnostic Tests............................................................................................... 6-6
6-2. Memory Diagnostic Tests................................................................................................. 6-11
B-1. Self-Test Error Messages....................................................................................................B-1
C-1. CPU32Bug Customization Area.........................................................................................C-5
C-2. MCU SCI Communication Formats.................................................................................C-14
C-3. Rev. A Chip Selection Summary......................................................................................C-15
C-4. Rev. B Chip Selection Summary......................................................................................C-16
C-5. BCC Rev. C Chip Selection Summary.............................................................................C-17
C-6. PFB Rev. C Compatibility................................................................................................C-18
TABLE OF CONTENTS
M68CPU32BUG/D REV 1 iii
CHAPTER 4 ASSEMBLER/DISASSEMBLER (continued)
4.2.1.3 Disassembled Source Line .............................................................................. 4-4
4.2.1.4 Mnemonics and Delimiters ............................................................................. 4-5
4.2.1.5 Character Set ................................................................................................... 4-6
4.2.2 Addressing Modes.................................................................................................... 4-6
4.2.3 Define Constant Directive (DC.W).......................................................................... 4-9
4.2.4 System Call Directive (SYSCALL)....................................................................... 4-10
4.3 Entering and Modifying Source Program......................................................................... 4-10
4.3.1 Executing the Assembler/Disassembler................................................................. 4-11
4.3.2 Entering a Source Line........................................................................................... 4-11
4.3.3 Entering Branch and Jump Addresses.................................................................... 4-12
4.3.4 Assembler Output/Program Listings ................................................................................ 4-12
CHAPTER 5 SYSTEM CALLS
5.1 Introduction......................................................................................................................... 5-1
5.1.1 Executing System Calls Through TRAP #15........................................................... 5-1
5.1.2 Input/Output String Formats..................................................................................... 5-2
5.2 System Call Routines.......................................................................................................... 5-2
5.2.1 Calculate BCD Equivalent Specified Binary Number (.BINDEC).......................... 5-4
5.2.2 Parse Value, Assign to Variable (.CHANGEV)....................................................... 5-5
5.2.3 Check for Break (.CHKBRK).................................................................................. 5-7
5.2.4 Timer Delay Function (.DELAY)............................................................................. 5-8
5.2.5 Unsigned 32 x 32 Bit Divide (.DIVU32)................................................................. 5-9
5.2.6 Erase Line (.ERASLN)........................................................................................... 5-10
5.2.7 Input Character Routine (.INCHR)........................................................................ 5-11
5.2.8 Input Line Routine (.INLN).................................................................................... 5-12
5.2.9 Input Serial Port Status (.INSTAT)........................................................................ 5-13
5.2.10 Unsigned 32 x 32 Bit Multiply (.MULU32)........................................................... 5-14
5.2.11 Output Character Routine (.OUTCHR).................................................................. 5-15
5.2.12 Output String Using Pointers (.OUTLN/OUTSTR)............................................... 5-16
5.2.13 Print <CR><LF> (.PCRLF) ................................................................................... 5-17
5.2.14 Read Line to Fixed-Length Buffer (.READLN)..................................................... 5-18
5.2.15 Read String Into Variable-Length Buffer (.READSTR)........................................ 5-19
5.2.16 Return to CPU32Bug (.RETURN)......................................................................... 5-20
5.2.17 Send Break (.SNDBRK)......................................................................................... 5-21
5.2.18 Compare Two Strings (.STRCMP)........................................................................ 5-22
5.2.19 Timer Initialization (.TM_INI)............................................................................... 5-23
5.2.20 Read Timer (.TM_RD)........................................................................................... 5-24
5.2.21 Start Timer at T=0 (.TM_STR0)............................................................................ 5-25
5.2.22 Output String with Data (.WRITD/WRITLN)....................................................... 5-27
5.2.23 Output String Using Character Count (.WRITE/WRITELN)................................ 5-29
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 2
1 2 3 4 5 6 7 8 ... 97 98

Commentaires sur ces manuels

Pas de commentaire