how to trace the register values in a program using keil debug session
use # symbol while loading values use correct destination address for this command "cjne r0,#00" then analyse the program well while posting the commends next time follow instruction given below "tips for posting message"