Specifications

12
puts()
PrintHex()
RET340BUG()
References
1. MC68340 Integrated Processor with DMA User’s Manual, Motorola Inc., 1992.
2. TNT4882 Programmer Reference Manual, National Instruments, 1994.
3. ESP-488TL Software Reference Manual for TNT4882, National Instruments, 1994.
4. M68340BUG Debug Monitor and Assembler User’s Manual, Motorola Inc., 1991.
5. M68340EVS Evaluation System User’s Manual, Motorola Inc., 1991.
Appendix
Purpose Output a line to the output port
Parameters string to be written
Return Type void
Example puts("hello"); puts(str) where str = "how are you?";
Purpose Output a number in hexadecimal form
Parameters unsigned short int (0 - 65535)
Return Type void
Example PrintHex(321); PrintHex(num) where num = 3245;
Purpose Restore control to 340Bug from the target program
Parameters NONE
Return Type void
Example RET340BUG();
Source File Description Page
Register.H TNT4882 Register Declarations 12
MC68340.H MC68340 Register Declarations 17
MC340BUG.H 340 Bug Debug Monitor Functions 19
HARDWARE.H Test Program Header File 19
HARDWARE.C Test Program Source Code 20
TNT4882.H TNT4882 Test Function Declarations 26
TNT4882.C TNT4882 Test Functions 26