opcodes: blackfin: decode insns with invalid register as illegal
authorMike Frysinger <vapier@gentoo.org>
Wed, 22 Sep 2010 21:38:20 +0000 (21:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 22 Sep 2010 21:38:20 +0000 (21:38 +0000)
commit50e2162a2268fa1651c98a4570f4d76132cf9ae7
tree43deedf8260e338787e08ec6473d383072a284e1
parent1c37c8cebb1f5d800f08478f30fa47c3fe30717b
opcodes: blackfin: decode insns with invalid register as illegal

Sometimes the encoding in the opcode is a 4 bit field which defines a
register number.  However, register numbers are only 0-7, so make sure
we call illegal for when the opcode register number is greater than 8.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
opcodes/ChangeLog
opcodes/bfin-dis.c