8051 lookup table problem

Status
Not open for further replies.

zabiel

Newbie level 1
Joined
Feb 26, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,285
Hello. I need to use several lookup tables(DATA,DATA1..) in one program and it should change after some time(like 1s). Is it possible to do it in assembler language with 8051 microcontroler?

Code:
MAIN:
MOV DPTR,#DATA
CLR A
MOVC A,@A+DPTR
MOV R2,A	  
INC DPTR
...
...

DATA: DB 36D 
DB 1D,254D       ;
DB 22D,233D
...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…