BR 2062342: ndisasm: r12 *can* be an index register
commit83b2e4f82c78c2464e76dfd09a30f8286830c45e
authorH. Peter Anvin <hpa@zytor.com>
Wed, 20 Aug 2008 16:42:47 +0000 (20 09:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 20 Aug 2008 16:42:47 +0000 (20 09:42 -0700)
tree77e2d087149d29c724f917c6cb18852e2df0485e
parent2a09b3bf1110776f60941cd2b036867d513828a1
BR 2062342: ndisasm: r12 *can* be an index register

R12 can be used as an index register.  Special encodings in the modr/m
byte are done *without* consideration for the REX prefix, but special
encodings in the SIB byte *do* take the REX prefix into consideration,
since it doesn't affect the overall instruction format.
disasm.c