??? 08/14/06 14:47 Read: times |
#122200 - Can't tell...uses external CCASE routine Responding to: ???'s previous message |
Dear Christoph,
I can't tell if a MOVC instruction is used in an external routine. This is what happens with a 'switch' instruction: ; switch (Command) ; SOURCE LINE # 157 MOV A,Command?043 LCALL ?C?CCASE DW ?C0017 ;Label of the routine for commmand1 DB 01H ;Command 1 DW ?C0025 ;Label of the routine for commmand2 DB 02H ;Command 2 DW ?C0026 ;Label of the routine for commmand3 DB 03H ;Command 3 I think that the CCASE routine uses MOVC to determine the jump location but I am not sure. Kind regards, Mark |