| ??? 02/23/03 23:23 Read: times |
#39864 - RE: DS1620. Look-up table? Responding to: ???'s previous message |
Hex_table: db '0','1','2','3' db '4','5','6','7' db '8','9','A','B' db 'C','D','E','F' mov dptr,#hex_table ;Point to table base movc a,@a+dptr ;Acc nibble = Table index everything is clear. (were questions, but disappeared after viewing the listing file) And now when using ext.memory for program and using look-ups. Oh my... Whats different now? (Should i use MOVX to 'save' all the table values? Or are they somehow magicly stored in ex.RAM? Should i switch segments?) To Michael: you are very kind. but i dont understand what the table index should i set. Maybe i will understand after answering previous question. MOV A,#LOW (C2F_Table) ;add word index ADD A,R7 ;from R6::R7 MOV DPL,A ;to table address MOV A,#HIGH (C2F_Table) Thaks again, Rob |
| Topic | Author | Date |
| DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| Internal External memory | 01/01/70 00:00 | |
| RE: Internal External memory | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? / Erik | 01/01/70 00:00 | |
| Sample LUT | 01/01/70 00:00 | |
| RE: Sample LUT | 01/01/70 00:00 | |
| RE: Sample LUT | 01/01/70 00:00 | |
| RE: Sample LUT | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
| RE: DS1620. Look-up table? | 01/01/70 00:00 | |
RE: DS1620. Look-up table? | 01/01/70 00:00 |



