x86-64-asm: Support high registers %r8 - %r15
commit4cb7047f0fa000c83ca5592d9a64a2cbc96d8fdc
authorMichael Matz <matz@suse.de>
Thu, 4 Aug 2016 02:47:03 +0000 (4 04:47 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:47:09 +0000 (15 17:47 +0100)
treefedcfc9ddf7dc61c2405a2ef7acb3bcc7c19937d
parent8765826465e6103d419808f78e8fc3f97218e9a6
x86-64-asm: Support high registers %r8 - %r15

This requires correctly handling the REX prefix.
As bonus we now also support the four 8bit registers
spl,bpl,sil,dil, which are decoded as ah,ch,dh,bh in non-long-mode
(and require a REX prefix as well).
i386-asm.c
i386-tok.h
tests/asmtest.S