Newsgroups: comp.robotics
Path: brunix!sgiblab!swrinde!cs.utexas.edu!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!uhog.mit.edu!news.media.mit.edu!fredm
From: fredm@media.mit.edu (Fred G Martin)
Subject: Re: Program memory of 68HC11 microprocessor
Message-ID: <1994Feb15.231812.1647@news.media.mit.edu>
Sender: news@news.media.mit.edu (USENET News System)
Organization: MIT Media Laboratory
References: <1994Feb15.104054.1@tnclus>
Date: Tue, 15 Feb 1994 23:18:12 GMT
Lines: 30

In article <1994Feb15.104054.1@tnclus> alavenna@tnclus.tele.nokia.fi writes:

>  - The MiniBoard has only 2048 bytes of program memory.
>    What kind of program is it enough for? So I wonder that
>    is that really enough to do something with robots, for
>    example? (Note: I don't have experience about microcontrollers.)

It's enough to do simple behavioral robotics, or for a small dedicated
control program, or as a controller at the end of a serial line host.

>  - I tried to experiment the ICC11 C cross compiler version
>    0.42. I found that the program including minilib.s and
>                main() 
>                { 
>                } 
>    without any code takes up about 1700 bytes. So
>    I must have done something wrong?

Are you just looking at the size of the .s19 file on your disk?  This
is misleading because the .s19 file is an ASCII representation of the
binary data.  The actual object code is less than half the size of an
.s19 file. 

Assuming this is your mistake, then your result is correct, because
you've got about 700 bytes of library code in your "null" program.

	-Fred

Fred Martin | fredm@media.mit.edu | (617) 253-5108 | 20 Ames St. Rm. E15-320
Epistemology and Learning Group, MIT Media Lab     | Cambridge, MA 02139 USA
