Changed the default DiskDump label, and cleaned up some jshint warnings
This commit is contained in:
parent
02e2fc5d21
commit
061cb7ea08
4 changed files with 25 additions and 15 deletions
|
|
@ -152,6 +152,10 @@ X86Seg.prototype.loadProt = function loadProt(sel, fSuppress)
|
|||
var addrDTLimit;
|
||||
var cpu = this.cpu;
|
||||
|
||||
/*
|
||||
* Some instructions (eg, CALLF) load a 32-bit value for the selector, while others (eg, LDS) do not;
|
||||
* however, in ALL cases, only the low 16 bits are significant.
|
||||
*/
|
||||
sel &= 0xffff;
|
||||
|
||||
if (!(sel & X86.SEL.LDT)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue