/** * Overrides the getBytes() method in the base class and prepends the * memFunc token * * @return the bytes */ byte[] getBytes() { setVolatile(); setOperandAlternateCode(); byte[] funcBytes = super.getBytes(); byte[] bytes = new byte[funcBytes.length+3]; System.arraycopy(funcBytes, 0, bytes, 3, funcBytes.length); // Indicate the mem func bytes[0] = Token.MEM_FUNC.getCode(); IntegerHelper.getTwoBytes(funcBytes.length, bytes, 1); return bytes; }
/** * Overrides the getBytes() method in the base class and prepends the * memFunc token * * @return the bytes */ byte[] getBytes() { setVolatile(); setOperandAlternateCode(); byte[] funcBytes = super.getBytes(); byte[] bytes = new byte[funcBytes.length+3]; System.arraycopy(funcBytes, 0, bytes, 3, funcBytes.length); // Indicate the mem func bytes[0] = Token.MEM_FUNC.getCode(); IntegerHelper.getTwoBytes(funcBytes.length, bytes, 1); return bytes; }