| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Andris Pavenis <pavenis AT latnet DOT lv> |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: PB compilation |
| Date: | Fri, 30 Jul 2004 09:29:29 +0300 |
| User-Agent: | KMail/1.6.82 |
| References: | <ceakrc$5em$1 AT s1 DOT read DOT news DOT oleane DOT net> |
| In-Reply-To: | <ceakrc$5em$1@s1.read.news.oleane.net> |
| MIME-Version: | 1.0 |
| Message-Id: | <200407300929.30909.pavenis@latnet.lv> |
| Reply-To: | djgpp AT delorie DOT com |
On Thursday 29 July 2004 13:51, philippe meynard wrote:
> Before I compiled with gcc2.953 and I have no error on :
>
> void set_start_adresse_asm(int x, int y)
> {
> unsigned short int low_ad;
> unsigned short int high_ad;
>
>
> high_ad = ((x +y*WIDTH)/4)/65536;
> low_ad = ((x+ y*WIDTH)/4)%65536 ;
>
> asm volatile( "
> push %%eax
You cannot continue string in next line in this way any more:
asm volatile("\n\
push %%eax \n\
...
must work.
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |