private static void visitPointerNumPlusReg(MemoryStateCreator mem, PointerNumPlusRegContext tree) {
		int literal = Integer.parseInt(tree.getChild(3).getText());		
		switch (tree.getChild(1).getText()) {
			case "A":
				mem.addRegisterA_pointerPlusLiteral(literal);				break;
			case "B":
				mem.addRegisterB_pointerPlusLiteral(literal);				break;
			case "C":
				mem.addRegisterC_pointerPlusLiteral(literal);				break;
			case "X":
				mem.addRegisterX_pointerPlusLiteral(literal);				break;
			case "Y":
				mem.addRegisterY_pointerPlusLiteral(literal);				break;
			case "Z":
				mem.addRegisterZ_pointerPlusLiteral(literal);				break;
		}
	}