Xref: news2.mv.net comp.os.msdos.djgpp:622 From: ewillard AT hertz DOT elee DOT calpoly DOT edu (Eric Willard) Newsgroups: comp.os.msdos.djgpp Subject: Assembly Questions Date: 28 Jan 1996 21:28:41 GMT Organization: California Polytechnic State University, San Luis Obispo Lines: 18 Message-ID: <4egpq9$mtf@isnews.csc.calpoly.edu> NNTP-Posting-User: ewillard AT hertz DOT elee DOT calpoly DOT edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I'm working on a project that mixes assembly language with C++, and I have a few questions: 1. What is the "start comment" character under 'as'? The '/' char- acter seems to work fine for comments that take the whole line, but I have seen odd error messages if I use it after an argument. The 'info' docs don't say anything about i386 comments. 2. If I write a class's member function in assembly, what registers can I modify without saving? Based on the assembly I've seen generated by GPP, I can freely modify %eax, %ecx, and %edx. What about %ebx, %esi, and %edi? If you have an answer, or even just a suggestion, please post a follow- up here or e-mail me at ewillard AT gauss DOT elee DOT calpoly DOT edu. Thanks. Eric Willard SNOE