From: nikki AT gameboutique DOT co (nikki) Newsgroups: comp.os.msdos.djgpp Subject: %ebp weirdness (and >10 operands problems) Date: 30 Jan 1997 12:29:43 GMT Organization: UUNet PIPEX server (post doesn't reflect views of UUNet PIPEX) Lines: 23 Message-ID: <5cq47n$nd@flex.uunet.pipex.com> NNTP-Posting-Host: www.gameboutique.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp is there any reason why asm volatile ("movl $32,%%ebp" ::: "%ebp" ); is completely ignored by gcc? by that i mean that i've told it ebp has been clobbered and on the next line it generates in the .S file it promptly tries to load something using ebp and hence crashes miserably :) i thought the whole idea of having a clobber list was so that it knew not to use that value and to reload it, or push/pull it whatever. also, when using floating point and a few registers on the stack i get 'more than 10 operands in asm' errors. any particular reason why? and how should i avoid this? i'm using "m" when i pass the values i want, and trying to pass too many gives this error. is there a way to reference the stack directly? ie st(0) st(1) st(n) and would that solve the problem maybe? regards, nik -- Graham Tootell GameBoutique Ltd. - THE online gaming experience nikki AT gameboutique DOT com http://www.gameboutique.com