??? 09/26/06 13:11 Read: times |
#125058 - Basic table lookup Responding to: ???'s previous message |
David, I think this is what you want: ; ; table index in A. anl a,#07h ;limit index from 0..7 mov dptr,#response_table movc a,@a+dptr ; ; result is in A ; response_table db ....... I don't think you want the $ symbol - this might upset the assembler. |
Topic | Author | Date |
Basic Q about Table Look ups | 01/01/70 00:00 | |
Basic table lookup | 01/01/70 00:00 | |
well, this should be an exercise for the student | 01/01/70 00:00 | |
More help please | 01/01/70 00:00 | |
Why HEX? | 01/01/70 00:00 | |
It's Place Value again!![]() | 01/01/70 00:00 | |
Confusion! | 01/01/70 00:00 |