[A83] Re: Small C?
[Prev][Next][Index][Thread]
[A83] Re: Small C?
> Van: Max 0. Sikström <max.0.sikstrom@edu.vanersborg.se>
>
> >Has any attempt been made at a C compiler on the z80 for the
> >calculators?
> >
> >I found this http://sourceforge.net/projects/sdcc/ , and I was just
> >
> >wondering how easily this could be used to program in C for the 83+.
> >
> I think C is not a good language to write a hole program in, but if you
> have a hard routine to write, you can do this:
>
> 1. Make the routine in C.
> 2. Compile.
<strike>3. Disassembly.</strike>
> 4. Optimize it <strike>and set name on variables</strike>.
>
> Maybe it can be hard to read a disassembled code, but give it a try...
You can just read the output (*.asm) of the compiler.
Henk Poley <><