Thanks for the reply
On Sat, May 14, 2016 at 9:21 PM, Maarten Brock
wrote:
> Hello,
>
> The caller will normally save all registers before making the call and
> restore after the callee returns. In other words: all registers are free
> for you to use.
>
> > I know I can create a parameter in the
Hello,
The caller will normally save all registers before making the call and
restore after the callee returns. In other words: all registers are free
for you to use.
> I know I can create a parameter in the C file itself and use it in
> assembly(this is what sdcc generates), I want to know about
I know I can create a parameter in the C file itself and use it in
assembly(this is what sdcc generates), I want to know about the internal
registers of the 8051. Can I use any?
On Sat, May 14, 2016 at 8:03 PM, php mania wrote:
> Hi,
>
> I am using the 8051 and am compiling using the SDCC. I hav