示例#1
0
文件: _ifge.java 项目: huyphan/reJ
 @Override
 public byte[] getData(DecompilationContext dc) {
   ByteSerializer ser = new ByteSerializer(true);
   ser.addByte(OPCODE);
   ser.addShort(this.label.getPosition() - dc.getPosition());
   return ser.getBytes();
 }
示例#2
0
文件: _ifge.java 项目: huyphan/reJ
 @Override
 public void setData(byte[] data, DecompilationContext dc) {
   int addr = (int) ByteToolkit.getSignedLong(data, 1, 2, true) + dc.getPosition();
   this.label = new Label(addr);
 }