atm Im learning assembler. The problem is that I started learning assembler with the Intel syntax, so Im not that familiar with the AT&T syntax. I know the basics of the AT&T already but I still have two questions:
When using inline asm in my C++ project, how do i access the variables, parameters or functions outside the asm-code? With Intel syntax it's pretty self explaining but I have no idea how to do that with AT&T sytax.
How can I return a value in asm? When I have a C++ function with an asm part, how can i say asm that I want to return a special value?
Im using a windows 8 VM with x86 32bit processor btw