how do i get variable address defined in C inside assembly instructions while writing some assembly instructions between C code.
Ashutosh Tiwari Bangalore
then,,,, the persons not clever and talented that they think ??????????????
When debating with a 5-year-old, you can use reverse psychology to get them to do just about anything. Since you are trying reversed psychology, I must assume that you expect answers from 5-year-olds. Alas, not too many have started with assembly programming at that age...
If you have a school assignment that specifically requires you to use inline assembler: Please write a post telling us that. If you do not have a specific requirement to use inline assembler - do look at the suggestions you have received: Optimize your C code, or write the whole function in assembler. Just look at the disassembly of the C function - that will give you a skeleton for your new assembler file.