Forums

Announce: Small C and Assembler - DSP56800

Started by Pete Gray November 15, 2002
Hello everyone,

Just thought I'd pop in and let you know that Small C (including
source code) and an Assembler are now available for download from my
website, in the form of a zip file. Both run from a DOS box.

The Small C cross-compiler targets the DSP56800 family. I've been
testing with NMI's IsoPod(TM) - see www.newmicros.com - which is
based on the 805. The Assembler is designed to be used in
conjunction with the cross-compiler and produces the output required
by Motorola's free JTAG flash loader.

Small C language details can be found here -
http://www.ddjembedded.com/languages/smallc/

The cross-compiler and assembler have been developed and tested
using djgpp and Metrowerks CodeWarrior.

Please feel free to send comments, questions etc.
Regards,
-Pete

http://home.attbi.com/~petegray



I tried the compiler with a Motorola DSP56F805EVM late
Friday afternoon. The example code works with the on
board serial port without any hardware modification or

supplement, in addition to the New Micros IsoPod.

I had a couple of questions though:

Which registers are available for inline or included
assembly? It would appear from the compiler source
that only A, X0, Y0, R1, R2, and R3 are used by the
compiler (in cc4.c). Did I miss any?

Is it possible to do inline assembly with the compiler
and if so, how? Or, is the only alternative including
any additional assembly with the compiler output?

From the file vecinit.asm, it would appear that the
assembler does not require the "#" sign to flag
immediate data because the following line assembles
without error:
move M56805_int_Addr,r1 ; exception
handler address
Is that the desired/designed behaviour of the
assembler? I did not observe any of the compiler
output to give any immediate values without the "#"
modifier.

Thanks for the release of the compiler and port of
Small C to the 56800 family. As I'll be leaving on
holiday this week, I won't be able to exercise the
compiler and assembler more thoroughly until after
Turkey Time, but I am looking forward to it...

Regards,
david
--- In motoroladsp@y..., "Pete Gray"
<teknologikah@y...> wrote:
> Hello everyone,
>
> Just thought I'd pop in and let you know that Small
C (including
> source code) and an Assembler are now available for
download from my
> website, in the form of a zip file. Both run from a
DOS box.
>
> The Small C cross-compiler targets the DSP56800
family. I've been
> testing with NMI's IsoPod(TM) - see
www.newmicros.com - which is
> based on the 805. The Assembler is designed to be
used in
> conjunction with the cross-compiler and produces the
output required
> by Motorola's free JTAG flash loader.
>
> Small C language details can be found here -
> http://www.ddjembedded.com/languages/smallc/
>
> The cross-compiler and assembler have been developed
and tested
> using djgpp and Metrowerks CodeWarrior.
>
> Please feel free to send comments, questions etc.
> Regards,
> -Pete
> petegray@i...
> http://home.attbi.com/~petegray

__________________________________________________