80386 0x0F opcodes more or less fleshed out

This commit is contained in:
Jeff Parsons 2015-03-29 20:37:46 -07:00 • committed by jeffpar
commit 177032223c
4 changed files with 452 additions and 15 deletions

View file

@ -3318,26 +3318,24 @@ X86.opRET = function RET()
/**
* op=0xC4 (LES reg,word)
*
* This is like a "MOV reg,rm" operation, but it also loads ES from the next word.
*
* @this {X86CPU}
*/
X86.opLES = function LES()
{
/*
* This is like a "MOV reg,rm" operation, but it also loads ES from the next word.
*/
this.aOpModRegWord[this.getIPByte()].call(this, X86.fnLES);
};
/**
* op=0xC5 (LDS reg,word)
*
* This is like a "MOV reg,rm" operation, but it also loads DS from the next word.
*
* @this {X86CPU}
*/
X86.opLDS = function LDS()
{
/*
* This is like a "MOV reg,rm" operation, but it also loads DS from the next word.
*/
this.aOpModRegWord[this.getIPByte()].call(this, X86.fnLDS);
};