Add the very basics of Intel 32-bit instruction encodings.

Tabulate the Intel opcode representations and implement an OP() function
which computes the encoding bits.

Implement the single-byte opcode with a reg-reg ModR/M byte.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-30 13:34:51 -07:00
parent 39e69ff565
commit 041fda63ac
7 changed files with 136 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ is no x87 floating point support.
from __future__ import absolute_import
from . import defs
from . import settings, registers # noqa
from . import encodings, settings, registers # noqa
# Re-export the primary target ISA definition.
ISA = defs.ISA.finish()