Path: utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!rutgers!labrea!polya!ham From: ham@polya.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.gcc Subject: asm problems Message-ID: Date: 17 Jan 89 21:46:04 GMT Sender: ham@polya.Stanford.EDU Distribution: gnu Organization: Stanford University Lines: 22 I tried compiling the following: bar() { asm ("movl $0, r11" : : : "r11"); } but got the following error: ../gcc-1.32/gcc -B../gcc-1.32/ -c -dr -S extern.c ../gcc-1.32/gcc: Program cc1 got fatal signal 4. I'm not sure if cc1 should signal or not, there could be something wrong with my asm syntax. The idea is to move 0 to r11 and let gcc know that r11 is clobbered. Any ideas? -- Peter Ham PO Box 3430 (415) 321-5746 MS Computer Science Student Stanford, CA ham@polya.stanford.edu Stanford University 94309