Cleaned up conditional jump handling
This commit is contained in:
parent
e057bd7a05
commit
2784934491
10 changed files with 135 additions and 50 deletions
|
|
@ -3197,18 +3197,6 @@ X86CPU.prototype.getIPDisp = function()
|
|||
return w;
|
||||
};
|
||||
|
||||
/**
|
||||
* getIPDispWord()
|
||||
*
|
||||
* @this {X86CPU}
|
||||
* @return {number} sign-extended value from the word at the current IP; IP advanced by 2 or 4
|
||||
*/
|
||||
X86CPU.prototype.getIPDispWord = function()
|
||||
{
|
||||
var w = this.getIPWord();
|
||||
return (this.dataSize == 2? ((w << 16) >> 16) : w);
|
||||
};
|
||||
|
||||
/**
|
||||
* getSIBAddr(mod)
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue