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

ASM + C

I have a problem.
My program with inline work, but when I add Printf or Scanf it do nothing. If smbd have working project with inline #pragma asm ... and Printf Help me, Please.

Parents
  • No, I haven't - as you should be able to guess from my replies, I just would not do that!

    And my advice to you is: Just Don't Do It!

    You have already demonstrated for yourself that it can cause problems, and you haven't shown any reason to need it - so why do it?!

    Instead of wasting effort on this (apparently) pointless excercise, your time would be far better spent in learning C51 more thoroughly - then, if you ever do have a real reason to do it, you will be in a position to understand what's going on!

Reply
  • No, I haven't - as you should be able to guess from my replies, I just would not do that!

    And my advice to you is: Just Don't Do It!

    You have already demonstrated for yourself that it can cause problems, and you haven't shown any reason to need it - so why do it?!

    Instead of wasting effort on this (apparently) pointless excercise, your time would be far better spent in learning C51 more thoroughly - then, if you ever do have a real reason to do it, you will be in a position to understand what's going on!

Children