Apr 21, 2006 #1 Y 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
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
Apr 21, 2006 #2 X XNOX_Rambo Advanced Member level 1 Joined Jul 13, 2002 Messages 434 Helped 90 Reputation 180 Reaction score 2 Trophy points 1,298 Location Far out, man! Activity points 3,568 Re: 8051 programming Only R0 and R1 are allowed in this context - see: https://www.win.tue.nl/~aeb/comp/8051/set8051.html#51mov
Re: 8051 programming Only R0 and R1 are allowed in this context - see: https://www.win.tue.nl/~aeb/comp/8051/set8051.html#51mov
Apr 22, 2006 #3 K kangta Junior Member level 2 Joined Apr 4, 2006 Messages 20 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,281 Activity points 1,503 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 Click to expand... 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
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 Click to expand... 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