• bank switching function
    Hello, Does any body know why in the L51_BANK.A51 file, the definition of the segment for the ?BANK?SWITCH function is: ?BANK?SWITCH segment code PAGE My question is about the PAGE definition...
  • task switching
    Hi, Does os_send_token() cause task switching?If so, my code given below is not working properly,task_1 is running continuously, and task_2 is never getting executed. Please clarify my doubt. ...
  • switch problem
    C51 version 7.09 a = LEFT ; switch (a) { case LEFT : subproA P1 = 0x01; P1 = 0x01; subproA break; case RIGHT : subproB P1 = 0x01; P1 = 0x01; subproB break; default : somethingjob; } There is...
  • bank switching
    Hello, Does any body know why in the L51_BANK.A51 file, the definition of the segment for the ?BANK?SWITCH function is: ?BANK?SWITCH segment code PAGE My question is about the PAGE definition...
  • how to avoid the switch code
    I have the impression that the routine that process a switch statement is (justifiably?) complicated and slow. I have a case with a lot of case statements. To "help the compiler" the cases are 0...