private static void visitRegisterPointer(MemoryStateCreator mem, RegisterPointerContext tree) {
		switch (tree.getText()) {
			case "[A]":
				mem.addRegisterA_pointer();				break;
			case "[B]":
				mem.addRegisterB_pointer();				break;
			case "[C]":
				mem.addRegisterC_pointer();				break;
			case "[X]":
				mem.addRegisterX_pointer();				break;
			case "[Y]":
				mem.addRegisterY_pointer();				break;
			case "[Z]":
				mem.addRegisterZ_pointer();				break;
		}
	}