title: convert x86 asm code to arm code on iOS
body: <p>Can anyone help me convert following x86 inline asm code to arm format?</p>
  
  <pre><code>bool N_FLAG = 0;
  bool C_FLAG = 0;
  bool Z_FLAG = 0;
  bool V_FLAG = 0;
  
  asm  ("sub %1, %%ebx;"\
  "setsb N_FLAG;"\
  "setzb Z_FLAG;"\
  "setncb C_FLAG;"\
  "setob V_FLAG;"\
  : "=b" (reg[dest].I)\
  : "r" (reg[base].I), "b" (value));
  </code></pre>