??? 08/24/07 06:07 Read: times |
#143568 - Structure ok, program doesn't make sense Responding to: ???'s previous message |
Henry Aliwarga said:
is there something wrong with that??? The structure of the tables look fine. can I get the same value in ka_h and ki_h(0D)???? I don't understand the purpose of the program. You're reading from the serial port and using that as offset into a table? If you mean to use the same value from the serial port each times, it's not recommended that you read the serial port twice since the value in the serial port could change between the two reads. Instead, read the value from SBUF, store it in a temporary register, and then use that value each time. Also, you're only using the ref_ka_h table--the ref_ka_l table is not being used. Regards, Craig Steiner |
Topic | Author | Date |
look up tabe | 01/01/70 00:00 | |
Structure ok, program doesn't make sense | 01/01/70 00:00 | |
Wrong tags! | 01/01/70 00:00 | |
look up tabel | 01/01/70 00:00 | |
Table | 01/01/70 00:00 | |
get 8 bit from look up table.. | 01/01/70 00:00 | |
Check you assembler syntax! | 01/01/70 00:00 | |
I know... | 01/01/70 00:00 | |
RTFM! | 01/01/70 00:00 | |
Characters - surely not?! | 01/01/70 00:00 | |
Thanks guys....![]() | 01/01/70 00:00 |