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

Assembly program

NAME MODULENAME
....
....
EXTRN CODE (function1)
....
....

mov dptr,#0x9000
mov a,@dptr
cjne a,#0x02,label1
lcall my_isr_function
label: NOP
....
....


Is this the correct way to call a C function from assembly?Do I need to save the program status before calling the my_isr_function?

0