??? 06/19/07 06:17 Read: times |
#140974 - Some Corrected Remarks :-) Responding to: ???'s previous message |
Robert Said
But remember this program only works correct if the input is 0,1,2,3 or 4 In other case it calls whatever is after the table So Test the input for a correct value well sir my program is not this, :-) this was only the sample to let people understand that what i want to do, and fortunatly i have succeded, and for your remarks first thing that my program will take values more then 0,1,2,3,4 so i think that your RL A will not work, :-) right ? and thats why i am doing all that mess of multiplication and well atleat you are right that there is no need of MOV A+@A+DPTR and yes thanks for your advice, and one more thing that, you are saying that i would be using CALL instead of SJMP, well i think that you are not right, call will store the PC in Stack, and as my control is not comming back to AGAIN, but even with this situation the CALL will all mess up my all my stack VARIABLE, untill i do this, POP XXX ;wasting the location of PCh POP XXX ;wasting the location of PCl well if i am wrong then tell me :-) |
Topic | Author | Date |
How to branch through table, without CJNE ? | 01/01/70 00:00 | |
You are very close | 01/01/70 00:00 | |
Oh Thanks sir, :-) you are really great, | 01/01/70 00:00 | |
WoW sir it really worked:-) here is full code, | 01/01/70 00:00 | |
Not quite | 01/01/70 00:00 | |
re: Abbreviations | 01/01/70 00:00 | |
Some remarks | 01/01/70 00:00 | |
Some Corrected Remarks :-) | 01/01/70 00:00 | |
The difference | 01/01/70 00:00 | |
other type of table, XOR instead CJNE ;-) | 01/01/70 00:00 | |
Rotate![]() | 01/01/70 00:00 |