From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6373b9200cc9eb65,start X-Google-Attributes: gid111c93,public From: Bram Subject: assembly programming on alphas Date: 1998/12/10 Message-ID: <36704B54.55298E9F@xs4all.nl>#1/1 X-Deja-AN: 421342122 X-NNTP-Posting-Host: dc2-modem1775.dial.xs4all.nl [194.109.134.239] Content-Transfer-Encoding: 7bit X-XS4ALL-Date: Fri, 11 Dec 1998 23:36:35 CET Content-Type: text/plain; charset=us-ascii Organization: XS4ALL, networking for the masses Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Hello, I've been reading DEC's Assembly Language Programmer's Guide. But I have a couple of questions. How can I have egcs generate more verbose assembly output? The samples in the guide show the C-source as comments in the assembly file. The output from egcc -S does not give these. Also, isn't there a more convenient method for memory to memory copying? It seems that the only way to move data from memory to memory, is by loading, and then storing registers. On Intel, I use movsb/movsw/movsl a lot, but there does not seem to be an alpha-equivalent. I am curious how memcpy is implemented on the alpha. What is the fastest way to copy, say, 32 bytes or more from one location to another? And what if the data is not alligned? thanks in advance, Bram Stolk