I think this error is obvious, isn't it?The instruction 'movx a,dptr' does not exist. It should read 'movx a,@dptr'. Please see:
https://www.keil.com/support/man/docs/is51/is51_movx.htm
In line 20 you used the right instruction.
Hi Hans Schneebauer thank you for offering an answer here. Please may you suggest a forum where this question is better suited to? This is so I can move it to the correct place in the Arm Community. Many thanks.
This topic belongs to the Keil tools. Please move it to community.arm.com/.../keil-forum