Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rob Morley Newsgroups: comp.lang.c,comp.sys.raspberry-pi,comp.programming Subject: Re: Compile Assembly and C files together Date: Tue, 6 Mar 2018 14:59:10 +0000 Lines: 11 Message-ID: <20180306145910.01512e6b@Mars> References: <1b658afd-6921-4185-a680-d73f28a95d71@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Trace: individual.net CtJErghz0E1KuA32fznHJAUvH7tJfzG77Rbn8wCmwWq2ngwZU= Cancel-Lock: sha1:rKxmEYlMEZXsQHMIwoFQphGm5uo= X-Newsreader: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-Face: -%!sEvEmu1^sE_cg/C*FkO+yp>Mb1!P3;"2[i&?+~C~&3Ij\EW#xv{=A_9L5TI^=Q-h[id[ 12tqNfcr'3h0m_N|*_#N>>#Z6-2d1't90*G}0c,)tOl0q4e_nQx}(;"g]0xJgYHH]cD;k7ZxCoI%K[ H2J3@n:NH)h+HQQv-jP3EYU|.*HZ6q6nwd5N7uOFIr+@ Xref: csiph.com comp.lang.c:127381 comp.sys.raspberry-pi:16594 comp.programming:8392 On Tue, 6 Mar 2018 13:53:05 +0000 druck wrote: > The easiest way to do the latter, is to write a C stub for the > function which you wish to write in assembler, then compile this with > gcc -S to produce a template asm file with the correct register > bindings which you can then fill out. > That's handy. Although the last time I wrote any assembler was about 20 years ago, I still might ...