Re: [Sdcc-user] Z80 parameter passing

2014-04-26 Thread Jacques Pelletier
Le 2014-04-26 08:02, Philipp Klaus Krause a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 26.04.2014 07:52, Jacques Pelletier wrote: >> Hi, >> >> Before, I was able to do inline assembler like this, >> >> void SerialPutString(unsigned char *p) { p; __asm call >> __SerialPutString

Re: [Sdcc-user] Z80 parameter passing

2014-04-26 Thread Jacques Pelletier
Le 2014-04-26 08:02, Philipp Klaus Krause a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 26.04.2014 07:52, Jacques Pelletier wrote: >> Hi, >> >> Before, I was able to do inline assembler like this, >> >> void SerialPutString(unsigned char *p) { p; __asm call >> __SerialPutString

Re: [Sdcc-user] Z80 parameter passing

2014-04-26 Thread Philipp Klaus Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26.04.2014 07:52, Jacques Pelletier wrote: > Hi, > > Before, I was able to do inline assembler like this, > > void SerialPutString(unsigned char *p) { p; __asm call > __SerialPutString __endasm ; } > > and the compiler would insert code like this