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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you using one of the above functions in the Z80 port?
If you're using strlen(), could you use strnlen() instead?
If you're using strchr(), could you use memchr() instead?
The Z80 has some instructions that can do relatively complex stuff.
Using t
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
Ah, thanks, that (having gpasm on the path) solved the problem.
My actual problem was of course that I had not installed gputils in the
first place,
must have been mentioned as requirement somewhere but did not spot it.
Thanks again.
br Kusti
>>> rnei...@web.de 27.12.2008 0:01 >>>
> when
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