8051 programming error with mov instruction

Status
Not open for further replies.

yasser11

Newbie level 4
Joined
Jun 24, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,337
hi

I have encountered an error in mov instruction of 8051.
the instruction is Mov @R6,A.
error message is

Tasm: label not found <R6> line no

is nt it a valid instruction if not please suggest some remedy
 

Re: 8051 programming

yasser11 said:
hi

I have encountered an error in mov instruction of 8051.
the instruction is Mov @R6,A.
error message is

Tasm: label not found <R6> line no

is nt it a valid instruction if not please suggest some remedy

Ok guy !
Because 8051 just suppost two regs can be used with indexed number that is R0 and R1 [ can interpret like R ] that help u can use relative addresses.
so u let use this instruction :
MOV @R , A ; ' i = 0, 1
 

    yasser11

    Points: 2
    Helpful Answer Positive Rating
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…