RTC6 boards
Doc. Rev. 1.0.21 en-US
9 Programming Peripheral Interfaces
297
(3) Choose between 15 small subroutines at defined memory addresses:
…
for i := 1 to 15 do
// call subroutine at address i*100, if [Bit #3…Bit #0] (binary) = i
list_call_cond(i, 15-i, i*100);
…
(4) Choose between 15 indexed subroutines:
…
for i := 1 to 15 do
// call subroutine with index i, if [Bit #3…Bit #0] (binary) = i
sub_call_cond(i, 15-i, i);
…