private static void setPrimitiveValue(String str, String register, boolean printing)
	{
		if (str.charAt(0) == '\"')
		{
			if (printing)
				out.println("  li $v0, 4");
//			if (str.equals("\" \""))
//				out.println("  la " + register + ", stringSpace");
			if (str.equals("\"\\\\n\""))
				out.println("  la " + register + ", stringNewline");
			else
				out.println("  la " + register + ", string" + stringLiterals.get(str));
		}
		else
		{
			if (str.equals("true"))
				out.println("  la " + register + ", stringTrue");
			else if (str.equals("false"))
				out.println("  la " + register + ", stringFalse");
			else // if not boolean or string, probably an int (until we add support for other stuff)
			{
				if (printing)
					out.println("  li $v0, 1");
				try
				{
					int value = Integer.parseInt(str);
					out.println("  li " + register + ", " + value);
				}
				catch (NumberFormatException ex)
				{
					throw new AssertionError("printing something weird: " + str);
				}
			}
		}
	}