Using Microtec Language Tools - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 3: Loading and Executing Programs
Compiling Programs for the Debugger
Using Math Libraries
Although FPU instructions can be executed in the target system, the
debugger/simulator cannot execute these instructions. To generate code that
will run interchangeably in both the debugger/emulator and
debugger/simulator, use the C compiler's floating point library routines.
These libraries contain routines that do not use FPU instructions, thereby
allowing them to execute properly in both debugging environments.
References
The "Getting Started" chapter of the Motorola 68000 Family C Cross Compiler
User's Guide gives an example of how to compile a simple program and
execute it in the debugger environment.
The "Command Syntax" chapter of the Motorola 68000 Family C Cross
Compiler User's Guide gives detailed descriptions of compiler options.
The "Environment Dependent Routines" chapter of the Motorola 68000
Family C Cross Compiler User's Guide describes the environment dependent
routines supplied with the compiler.

Using Microtec Language Tools

The debugger is designed to work with the HP Advanced Cross Language
System. However, you can also use the Microtec Research, Inc. language tools
with the debugger.
Microtec's language tools are quite similar to the HP language tools. The
input syntax and code generated by the HP and Microtec assemblers, linkers,
and librarians are identical with few exceptions.
®
The language tools available from Microtec
are the mcc68k C compiler, the
ccc68k C+ + compiler, the asm68k assembler, the lnk68k linker, and the
lib68k librarian.
Using the Microtec Commands
For instructions on how to compile and assemble programs using the Microtec
language tools, refer to the Application Note for Hewlett-Packard 68xxx Product
Interfaces and Microtec Research Inc. 68xxx L anguage Tools. This application
note is available from your Hewlett-Packard sales representative.
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents