Mail Archives: djgpp/1996/01/29/02:31:03
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
- Raw text -