On Saturday 27 December 2008 03:24:08 pm Richard Gray wrote:
> >From memory, I think the Z80's SP=0 at reset, so the chances are that
>
> initialising of this register is something you're going to want to do
> fairly early on in your code.
>
> There are a couple of ways at least of doing this, but
> $TOOL_BASE/sdcc --xram-loc 0x1F40 --code-loc 0 --stack-loc
> 0x3e80 /home/crodrigu/projects/debugger/debugger.rel
> /home/crodrigu/projects/debugger/uart.rel
> /home/crodrigu/projects/debugger/CTC.rel
You need -mz80 in your link command line. I think SDCC might
default to using the 8051 lin
>From memory, I think the Z80's SP=0 at reset, so the chances are that
initialising of this register is something you're going to want to do fairly
early on in your code.
There are a couple of ways at least of doing this, but I use my own crt0.s
file and the --no-std-crt0 compiler switch. The o
candido lopez rodriguez schrieb:
> Hello:
>
> Thanks for your help, This is the first time that I am using SDCC and I am
> having a couple of issues. (hope that this email is not too long)
>
>
> 1) The generated output ends in *.o, when I try to pass the objects to the
> linker it says that th
Hello:
Thanks for your help, This is the first time that I am using SDCC and I am
having a couple of issues. (hope that this email is not too long)
1) The generated output ends in *.o, when I try to pass the objects to the
linker it says that the type *.o is unknown, if I change the extension