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

PIN DEFINITION

Can I change a pin definition in an assembler module when program is running?

I would add a parameter at my assembler routine but if I do my program will not work because the time of esecution is very critical!

Parents
  • When your program is running, the assembler has done it's work. There's no chance for the assembler to modify the code after generating it. I think the modification to the code during runtime has to be done by the microcontroller itself. This can be done by overlapping the code and xdata address area. In overlapped mode, you can build your own machine code by writing appropriate codes to xdata and then execute it.

Reply
  • When your program is running, the assembler has done it's work. There's no chance for the assembler to modify the code after generating it. I think the modification to the code during runtime has to be done by the microcontroller itself. This can be done by overlapping the code and xdata address area. In overlapped mode, you can build your own machine code by writing appropriate codes to xdata and then execute it.

Children
No data