// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt.imp;
+package org.xwt.mips;
import java.util.*;
import java.io.*;
// FEATURE: emit bytecode rather than .java code (for on-the-fly classloading without javac present in "real" JVMs)
/** reads a fully linked MIPS ELF binary image on stdin; writes a .java file on stdout */
-public class MIPS {
+public class Compiler {
static String runs = "";
static int last_emit = -1;
public static void main(String[] s) throws IOException {
if (s.length != 2) {
- System.err.println("usage: java " + MIPS.class.getName() + " <classname> <binary.mips>");
+ System.err.println("usage: java " + Compiler.class.getName() + " <classname> <binary.mips>");
System.exit(-1);
}