public static void loadMemory() throws Exception
	{
		for(int i=0;i<Memory.ARRAY_ROWS;i++)
			for(int j=0;j<Memory.WORD_SIZE;j++)
				Memory.cellarray[i][j]=rnd.nextInt()&62;
		
		BufferedReader r=new BufferedReader(new FileReader("test.obj"));
		
		int memrow=0;
		while(true)
		{
			String line=r.readLine();
			if(line==null)
				break;
			StringTokenizer st=new StringTokenizer(line," \n");
			
			if(line.contains("INITAC"))
			{
				st.nextToken();
				for(int i=0;i<8;i++)
				{
					String s=st.nextToken();
					CU.ac[i]=Integer.parseInt(s,16);
				}
				continue;
			}
			
			if(line.contains("INITPC"))
			{
				st.nextToken();
				for(int i=0;i<5;i++)
				{
					String s=st.nextToken();
					CU.pc[i]=Integer.parseInt(s,16);
				}
				continue;
			}
			for(int i=0;i<13;i++)
			{
				String bit=st.nextToken();
				Memory.cellarray[memrow][i]=Integer.parseInt(bit,16);				
			}
			memrow++;
		}
		

	}