emmit(ins.getMnemonic(), ins.getOperands(), getOperandSize(ins));
emit(ins.getMnemonic(), ins.getOperands(), getOperandSize(ins));
    private void doAssembly() {        for (int i = 0; i < modules.size(); i++) {            ((AssemblerModule) modules.get(i)).setNativeStream(nativeStream);        }        for (Iterator it = instructions.iterator(); it.hasNext();) {            Instruction ins = (Instruction) it.next();            //handle prefixes            int prefix = ins.getPrefix();            if((prefix & Instruction.LOCK_PREFIX) != 0){                nativeStream.write8(X86Constants.LOCK_PREFIX);            } else if ((prefix & Instruction.REP_PREFIX) != 0){                nativeStream.write8(X86Constants.REP_PREFIX);            }            String label = ins.getLabel();            if (label != null) {                if (labels.get(label) != null && pass == 1)                    throw new IllegalArgumentException("Label already defined: " + label);                defineLabel(label, nativeStream);            }            String mnemo = ins.getMnemonic();            if (mnemo != null) {                try{                    emmit(ins.getMnemonic(), ins.getOperands(), getOperandSize(ins));                }catch(IllegalArgumentException x){                    if(Assembler.THROW){                        throw x;                    } else {                        System.out.println(x.getMessage() + " at line " + ins.getLineNumber());                    }                }            }        }    }