Hi Try add the source code like: sim_do_command(sd," memory region 0x7fff8000,0x8000") ; usually added in the function sim_open(...) As for mips simulator, it's in the source file sim/mips/interp.c Good luck. Yorkwar