Hello
I am not able to solve the problem of variable used in 'C' part and those used in assembler part.
I have defined in "C" program
byte name[5]
I want to include a piece of assembler already done where I have
asm
{
........
LDHX (how I can load the address of Name[0] i.e... the address of the beginning of vector used in "C")
}
How I can use the variables I have in "C" part of program in assembler part and conversely.
Suggest me some fonts.
Thanks
Paolo
已解决! 转到解答。
Check the compiler manual for the S08, it has a HLI chapter.
When I remember right, the syntax is LDHX @name:0, but did not test it out.
Daniel