Mail Archives: djgpp/1996/10/22/00:37:22
In article <32628507 DOT 3B61824 AT mercury DOT execulink DOT com>, Jeff Weeks wrote:
[[[ snip ]]]
>parm [ebx] [cx] [al]\
>value [ebx]\
>modify exact [ax cx ebx] nomemory;
>
>Most of the code should just be a switch from Intel to AT&T asm right?
>But what about the three lines at the end? What are they all about (the
>parm, value and modify lines)? And how to I convert those to DJGPP V2
>assembly.
I do lots of work with Watcom, so I can tell you about those three
lines. I can't tell you how to convert them to DJGPP V2, though.
These lines tell the Watcom compiler about the register usage of the
procedure. It takes parameter #1 in ebx, parameter #2 in cx, and
paramter #3 in al. It returns its value in ebx. It modifies only registers
ax, cx, and ebx and does not touch memory.
Roger Ivie
ivie AT cc DOT usu DOT edu
- Raw text -