Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48a74f9d authored by Roel Kluin's avatar Roel Kluin Committed by Mike Frysinger
Browse files

Blackfin: fix decoding of opcodes 41-47 in decode_instruction()



This condition allowed only decoding of opcode 0x0040

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d86bfb16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -712,7 +712,7 @@ static void decode_instruction(unsigned short *address)
			verbose_printk("RTE");
		else if (opcode == 0x0025)
			verbose_printk("EMUEXCPT");
		else if (opcode == 0x0040 && opcode <= 0x0047)
		else if (opcode >= 0x0040 && opcode <= 0x0047)
			verbose_printk("STI R%i", opcode & 7);
		else if (opcode >= 0x0050 && opcode <= 0x0057)
			verbose_printk("JUMP (P%i)", opcode & 7);