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

need urgent help

hi
friends
iam working on cygnal microcontrollers , i have evaluation version of keil which come along with cygnal .i have problem with src directive, iwant to convert one c programme into assembly i used #pragma src , then i compiled the c file ,i got .src file , again i compiled src file i have got the assembly code but when i compiled this code iam not getting the results ie its uart programme which displays some menu on the hyperterminal.kindly please suggest me how to convert it to assembly.
but ithink in evaluation version whether src directive is activated or not.?
iwant to send my c programme if any body having keil full version software kindly compile using src and send me the equivalent
assembly code .please provide your email id

REGARDS
STERAK E

Parents
  • "I want to convert one c programme into assembly.
    "I used #pragma src, then I compiled the c file, got .src file, again I compiled src file.
    "I have got the assembly code but when I compiled this code I am not getting the results..."


    Does the code work if you just compile it directly in C? (ie, without the intermediate conversion to assembler?)

Reply
  • "I want to convert one c programme into assembly.
    "I used #pragma src, then I compiled the c file, got .src file, again I compiled src file.
    "I have got the assembly code but when I compiled this code I am not getting the results..."


    Does the code work if you just compile it directly in C? (ie, without the intermediate conversion to assembler?)

Children
  • Hi
    andrew neil,
    well i know you and erik and some other people are good in 8051 ,actually i learnt lot of things from you people (technical side).
    well some of the links when you provided on this site that are really wonderful.really you have very good knowledge in 8051 and c.
    andrew actually now i got struk in one problem.actually my c programme functionally working correctly.i dont have single doudt in that.but the only thing is i need it in assembly version.as i already mentioned i implemented src directive but its giving some problem, can you kindly suggest me how solve this.

    regards
    streak e

  • "the only thing is i need it in assembly"

    BUT WHY?!

    You still haven't said why it so desparately needs to be in assembly - especially now that you tell us that it's working perfectly well in 'C'!

    "i implemented src directive but its giving some problem, can you kindly suggest me how solve this."

    Not from that!

    What exactly is it doing?
    What do you mean by "some problem"

    Does it build cleanly with no errors & no warnings?

    What efforts have you made to debug it?
    Have you tried running it in the simulator, single-stepping, etc?