Added 32-bit interfaces to the Memory component
This commit is contained in:
parent
9ae860d28f
commit
e0959dc00c
7 changed files with 319 additions and 119 deletions
|
|
@ -38,6 +38,20 @@ if (typeof module !== 'undefined') {
|
|||
|
||||
var X86ModSIB = {};
|
||||
|
||||
/*
|
||||
* TODO: Factor out the SIB (scale=1) decoders that are functionally equivalent to one another,
|
||||
* just as I've already done for all the ModRM (register-to-register) decoders. For example:
|
||||
*
|
||||
* opModSIB01(): this.regECX + this.regEAX
|
||||
*
|
||||
* is functionally equivalent to:
|
||||
*
|
||||
* opModSIB08(): this.regEAX + this.regECX
|
||||
*
|
||||
* This isn't super critical, since the SIB decoders are much smaller/simpler than the ModRM decoders,
|
||||
* but still, it's wasteful.
|
||||
*/
|
||||
|
||||
X86ModSIB.aOpModSIB = [
|
||||
/**
|
||||
* opModSIB00(): scale=00 (1) index=000 (EAX) base=000 (EAX)
|
||||
|
|
|
|||
Loading…
Reference in a new issue