daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Nov 21st, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. String opcode;
  2. if(insn.name().equals("CBZ"))
  3.     opcode = "" + 10110100;
  4. else if(insn.name().equals("CBNZ"))
  5.     opcode = "" + 01010100;
  6. else
  7.     opcode = StringUtils.leftPad(Integer.toBinaryString(0x54), 8, '0');
  8.  
  9.  
  10. //more code.....
  11.  
  12.  
  13. System.out.println(insn.name()); //outputs CBNZ
  14. if(insn.name().equals("CBNZ")) //Just to see if I can force the opcode change one last time
  15.     opcode = "" + 01010100;
  16. System.out.println("CBNZ " + opcode); //outputs CBNZ 266304
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top