View previous topic :: View next topic |
Author |
Message |
Study
Joined: 09 Apr 2009 Posts: 29
|
interrupt in assembly codes? |
Posted: Fri May 14, 2010 5:13 pm |
|
|
Hi friends
Imagine I have a program with mix of C and assembly ( #asm and #endasm ), the program use interrupt too, when my program running assembly codes interrupt happens ( when program running is between #asm and #endasm ) what happens after running interrupt routine? Does it back to my assembly line or not?
Regards _________________ Sorry if i have much mistakes, my english is not good.
Thanks a lot for your helps.
Have a good time |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri May 14, 2010 5:20 pm |
|
|
It all compiles to the same machine code. It doesn't matter what the
source level code is, C or ASM. So that answer is, it will work. |
|
|
Study
Joined: 09 Apr 2009 Posts: 29
|
|
Posted: Sat May 15, 2010 2:51 am |
|
|
Thanks PCM, I hope long life for you, your support is excellent _________________ Sorry if i have much mistakes, my english is not good.
Thanks a lot for your helps.
Have a good time |
|
|
|