Quantcast
Viewing all articles
Browse latest Browse all 2703

Multiple lookup tables

Hello. I need to use several lookup tables(DATA,DATA1...) in one program and it should change after some time (like after 1s). Is it possible to do it in assembler language with 8051 microcontroler? Thank you in advance.

MAIN:
MOV DPTR,#DATA
CLR A
MOVC A,@A+DPTR
MOV R2,A      
INC DPTR
......
DATA: 
DB 36D 
DB 1D,254D       
;DB 22D,233D
...


Viewing all articles
Browse latest Browse all 2703

Trending Articles