public class Main { public static void main(String[] args) { Reader reader = new Reader(); byte[] bytecode = reader.readBytecode("example.xapi"); List<Instruction> instructions = reader.parseInstructions(bytecode); for (Instruction instruction : instructions) { System.out.println("Opcode: " + instruction.getOpcode()); System.out.println("Operands: " + Arrays.toString(instruction.getOperands())); System.out.println(); } } }


上一篇:
下一篇:
切换中文