public void debug_dump() {
		System.out.println("---variables---");
		variables.dump();
		String[] op_name = VMCode.VM_OP_NAMES;
		System.out.println("---code---");
		int	pos = 0;
		int size = statement.size();
		for (int i = 0; i < size; i++) {
			VMCode code = (VMCode)statement.get(i);
			System.out.print(pos + ": " + op_name[code.getOp()]);
			if (code.getSize() > 1) {
				System.out.print(", " + code.getArg1());
				if (code.getSize() > 5) {
					System.out.print(", " + code.getArg2());
					if (code.getSize() > 9) {
						System.out.print(", " + code.getArg3());
					}
				}
			}
			System.out.println();
			if (code.getOp() != VMCode.VM_MAXCOMMAND) {
				pos += code.getSize();
			}
		}
		System.out.println("---");
	}