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

how to call a function from another banking??

does somebody can explain or provide simply samples for code banking switch and call a function from another banking?such as call a function in
bank1 from common area or call a function in
bank2 from bank1.email:kenn_utc@hotmail.com

Parents
  • As long as you have all the banking infrastructure set up correctly, it "just works". The compiler/linker will figure out that a call is an inter-bank call and generate the appropriate stubs in the common bank to make it work. The function call in C looks like any other function call.

    In general, you'd prefer to organize the code to avoid calls from bank 1 to bank 2 where possible, to save on code memory and time.

Reply
  • As long as you have all the banking infrastructure set up correctly, it "just works". The compiler/linker will figure out that a call is an inter-bank call and generate the appropriate stubs in the common bank to make it work. The function call in C looks like any other function call.

    In general, you'd prefer to organize the code to avoid calls from bank 1 to bank 2 where possible, to save on code memory and time.

Children
No data