Fix instruction memory initialization