??? 06/21/05 18:05 Read: times |
#95512 - use jmp@a+dptr Responding to: ???'s previous message |
Spencer Lee said:
Is it possible to code a assembly jmp table in "C".
If so, how? Thanks Hi.. Lee U just use the instruction jmp @a+dptr which very powerful instuction in assembly and also not found in any 'C' compiler Use Assembly and Be Happy |
Topic | Author | Date |
Coding a Jmp table in C | 01/01/70 00:00 | |
Jmp Tables in C | 01/01/70 00:00 | |
you do not | 01/01/70 00:00 | |
Call table? | 01/01/70 00:00 | |
Of course not! | 01/01/70 00:00 | |
use jmp@a+dptr | 01/01/70 00:00 | |
jmp table not in C | 01/01/70 00:00 | |
Wrong ends of sticks? | 01/01/70 00:00 | |
You do not control the Compiler Output | 01/01/70 00:00 | |
You can not have your cake and eat it to | 01/01/70 00:00 | |
Jump Table in C | 01/01/70 00:00 | |
Call Table? (again) | 01/01/70 00:00 | |
Call Table? (again) | 01/01/70 00:00 | |
I never did use function pointers | 01/01/70 00:00 | |
No pain, no gain. | 01/01/70 00:00 | |
the overlaying | 01/01/70 00:00 | |
There can be a gain. | 01/01/70 00:00 | |
My 2 cents worth | 01/01/70 00:00 | |
Incorrect | 01/01/70 00:00 | |
As Matter of Fact....![]() | 01/01/70 00:00 |