Added SBR opcode.

This commit is contained in:
Gerardo García Peña 2016-10-13 10:54:03 +02:00 committed by radare
parent c82c411724
commit 2f87024db4

View File

@ -871,6 +871,7 @@ INST_HANDLER (or) { // OR Rd, Rr
}
INST_HANDLER (ori) { // ORI Rd, K
// SBR Rd, K
int d = ((buf[0] >> 4) & 0xf) + 16;
int k = (buf[0] & 0xf) | ((buf[1] & 0xf) << 4);
ESIL_A ("r%d,%d,|,", d, k); // 0: (Rd | k)