public void setMemory(int start,int offset, int rt) {
		if(start >= 0x10010000 && start <= 0x10010000 + 4*1024)
			this.data.set(start+offset, rt);
		if(start <= 0x7FFFEFFF && start >= 0x7FFFEFFF-2*1024)
			this.stack.set(start+offset, rt);
		if(start >= 0x00400000 && start <= 0x00400000 + 2*1024)
			this.instr.set(start+offset, rt);
	}