Added ld and st instructions, and pipeline stalling for preventing hazards.