Table Of Contents3................................................................................................................................................................
General Description9................................................................................................................................................................
Using This Manual11................................................................................................................................................................
Installation And Start-up11................................................................................................................................................................
System Restart12................................................................................................................................................................
Expression As A Parameter19................................................................................................................................................................
Address As A Parameter20................................................................................................................................................................
Port Numbers23................................................................................................................................................................
Entering And Debugging Programs23................................................................................................................................................................
Calling System Utilities From User Programs23................................................................................................................................................................
Cpu32bug Vector Table And Workspace24................................................................................................................................................................
Using Cpu32bug Target Vector Table25................................................................................................................................................................
Function Code Support28................................................................................................................................................................
Block Of Memory Compare (bc)33................................................................................................................................................................
Block Of Memory Fill (bf)35................................................................................................................................................................
Block Of Memory Fill Bf36................................................................................................................................................................
Block Of Memory Move (bm)37................................................................................................................................................................
Block Of Memory Search (bs)40................................................................................................................................................................
Block Of Memory Verify (bv)43................................................................................................................................................................
Data Conversion (dc)45................................................................................................................................................................
Go To Next Instruction (gn)51................................................................................................................................................................
Go Execute User Program (go)53................................................................................................................................................................
Go To Temporary Breakpoint (gt)56................................................................................................................................................................
Help (h)58................................................................................................................................................................
Load S-records From Host (lo)61................................................................................................................................................................
Memory Set (ms)74................................................................................................................................................................
Port Format (pf)79................................................................................................................................................................
List Current Port Assignments79................................................................................................................................................................
Port Configuration79................................................................................................................................................................
Port Format79................................................................................................................................................................
Port Format Parameters80................................................................................................................................................................
New Port Assignment81................................................................................................................................................................
Register Set (rs)88................................................................................................................................................................
Trace On Change Of Control Flow (tc)93................................................................................................................................................................
Trace On Change Of Control Flow93................................................................................................................................................................
Trace To Temporary Breakpoint (tt)96................................................................................................................................................................
Trace To Temporary Breakpoint96................................................................................................................................................................
Verify S-records Against Memory (ve)98................................................................................................................................................................
Verify S-records Against Memory98................................................................................................................................................................
M68300 Family Assembly Language103................................................................................................................................................................
M68300 Family Resident Structured Assembler Comparison104................................................................................................................................................................
Source Program Coding104................................................................................................................................................................
Source Line Format105................................................................................................................................................................
Mnemonics And Delimiters107................................................................................................................................................................
Character Set108................................................................................................................................................................
System Call Directive (syscall)112................................................................................................................................................................
Entering And Modifying Source Program112................................................................................................................................................................
Executing The Assembler/disassembler113................................................................................................................................................................
Entering A Source Line113................................................................................................................................................................
Entering Branch And Jump Addresses114................................................................................................................................................................
Executing System Calls Through Trap #15115................................................................................................................................................................
System Call Routines116................................................................................................................................................................
Cpu32bug System Call Routines117................................................................................................................................................................
Parse Value, Assign To Variable (.changev)119................................................................................................................................................................
Check For Break (.chkbrk)121................................................................................................................................................................
Timer Delay Function (.delay)122................................................................................................................................................................
Unsigned 32 X 32 Bit Divide (.divu32)123................................................................................................................................................................
Erase Line (.erasln)124................................................................................................................................................................
Input Character Routine (.inchr)125................................................................................................................................................................
Input Line Routine (.inln)126................................................................................................................................................................
Input Serial Port Status (.instat)127................................................................................................................................................................
Unsigned 32 X 32 Bit Multiply (.mulu32)128................................................................................................................................................................
Output Character Routine (.outchr)129................................................................................................................................................................
Output String Using Pointers (.outln/outstr)130................................................................................................................................................................
Read Line To Fixed-length Buffer (.readln)132................................................................................................................................................................
Read String Into Variable-length Buffer (.readstr)133................................................................................................................................................................
Return To Cpu32bug (.return)134................................................................................................................................................................
Compare Two Strings (.strcmp)136................................................................................................................................................................
Start Timer At T=0 (.tm_str0)139................................................................................................................................................................
Command Entry And Directories145................................................................................................................................................................
Help (he)146................................................................................................................................................................
Self Test (st)146................................................................................................................................................................
Zero Pass Count (zp)148................................................................................................................................................................
Cpu Tests For The Mcu (cpu)150................................................................................................................................................................
Mcu Cpu Diagnostic Tests150................................................................................................................................................................
C.4 Communication Formats188................................................................................................................................................................
C-2. Mcu Sci Communication Formats188................................................................................................................................................................
C.5 Bcc Rev. A Chip Selection Summary189................................................................................................................................................................
C-3. Rev. A Chip Selection Summary189................................................................................................................................................................
C.6 Bcc Rev. B Chip Selection Summary190................................................................................................................................................................
C-4. Rev. B Chip Selection Summary190................................................................................................................................................................
C.7 Bcc Rev. C Chip Selection Summary191................................................................................................................................................................
C-5. Bcc Rev. C Chip Selection Summary191................................................................................................................................................................
C.8 Platform Board (pfb) Rev. C Compatibility192................................................................................................................................................................
C-6. Pfb Rev. C Compatibility192................................................................................................................................................................
C.9 Cpu32bug Questions And Answers193................................................................................................................................................................