Newsgroups: comp.robotics
Path: brunix!sgiblab!pacbell.com!amdahl!netcomsv!netcom.com!mfogarty
From: mfogarty@netcom.com (Michael Fogarty)
Subject: Re: Code for the 68HC811
Message-ID: <mfogartyCo5stw.GKE@netcom.com>
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <2oe7mn$m19@monet.ccad.uiowa.edu>
Date: Tue, 12 Apr 1994 18:32:17 GMT
Lines: 19

Andrew D Petersen (petersen@ccad.uiowa.edu) wrote:
: I am just getting into writing code for the 68HC811 and I have a question.
: I have seen two versions of object code for the chip one ending in .obj and this
: was for a stand alone chip, and the other with an .s19 ending and it was for 
: the evaluation board.  All the compilers I have been able to find generate 
: .s19 code.  My question is will the .s19 code run on a stand alone chip with
: no evaluation board, OR does anyone know of a C cross-compiler, or assembler
: that will generate .obj code.

Unless I'm completely misunderstanding you, you have confused compiler/
assembler object file output (.obj, .r07, etc.) with linker output (.s19,
.s07, etc.).  The ".obj" file is a relocatable file that is handed to
the linker with other ".obj" files so it can turn out a Motorola S-record
(".s19").  The S-record contains the location-specific data that is
required for a download into the MCU.  S records can be loaded into
EEPROM, RAM, or EPROM, regardless of the mode (standalone, special bootstrap,
multiplexed).

-mfogarty
