simulator: when an invalid memory access occurs, print if it is a load or store