fix LDR instruction bug in simulator.