Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top