X86和ARM64部分汇编差异
x86 Mnemonic | A64 Mnemonic | Instruction |
---|---|---|
MOVZX | UXT | Zero-Extend. |
MOVSX | SXT | Sign-Extend. |
BSWAP | REV | Reverse byte order. |
SHR | LSR | Logical Shift Right. |
SHL | LSL | Logical Shift Left. |
XOR | EOR | Bitwise exclusive-OR. |
OR | ORR | Bitwise OR. |
NOT | MVN | Bitwise NOT. |
SHRD | EXTR | Double precision shift right / Extract register from pair of registers. |
SAR | ASR | Arithmetic Shift Right. |
SBB | SBC | Subtract with Borrow / Subtract with Carry |
TEST | TST | Perform a bitwise AND, set flags and discard result. |
CALL | BL | Branch with Link / Call a subroutine. |
JNE | BNE | Jump/Branch if Not Equal. |
JS | BMI | Jump/Branch if Signed / Minus. |
JG | BGT | Jump/Branch if Greater. |
JGE | BGE | Jump/Branch if Greater or Equal. |
JE | BEQ | Jump/Branch if Equal. |
JC/JB | BCS / BHS | Jump/Branch if Carry / Borrow |
JNC/JNB | BCC / BLO | Jump/Branch if No Carry / No Borrow |
JAE | BPL | Jump if Above or Equal / Branch if Plus, positive or Zero. |