This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

getting vriable address

how do i get variable address defined in C inside assembly instructions while writing some assembly instructions between C code.

Ashutosh Tiwari
Bangalore

Parents Reply Children
  • so,,, there are many persons here which say there are clever and talented persons here.

    i say i need answer but no body can give!!!!!

    why can not any body give the answer?????????????

    then,,,, the persons not clever and talented that they think ??????????????

  • i say i need answer but no body can give!!!!!

    you have got the answer umpteen times

    DO IT IN A .A51 MODULE

    do you want us to answer "how do I commit suicide" by "buy a rope" instead of "that is not a good idea"?

    Erik

  • 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.

  • cheers, erik, you actually made me laugh, and I have to tell you - my day sucked. well done :)

  • i say i need answer but no body can give!!!!!

    On the contrary. You were given the answer several times over. You just chose to ignore them all, apparently because you think you know better than the people you asked. Your bad.

    the persons not clever and talented that they think ????

    Do you really believe that insulting people will make them more interested in helping you?

  • I am Sorry, i m not hurting anybody, i just thought may be my quetion was wrong & might be possible someone has faced that problem, i never wanted to hurt anybody, sir.
    I m sorry, its my mistake to ask u.
    THANKS FOR UR KIND HELP.

    plz never consider that someone is dominating u sir, & i just asked that quetion 2 times, second time i wanted to crrect my question. but that was my mistake.

    Sorry for that sir.

    Ashutosh Tiwari
    Bangalore, India.

  • sir, you not understand my questions do you??????

    i ask for good correct answer and you give me bad repsonses.

    why ansewere my quesntions when you do not understand. let some body that understands do answeres!

  • no harm done - take it easy. I hope you understood the motivation of the answers you got and why you should follow their spirit. good luck.