Changed the default DiskDump label, and cleaned up some jshint warnings

This commit is contained in:
Jeff Parsons 2015-04-22 12:21:06 -07:00 • committed by jeffpar
commit 061cb7ea08
4 changed files with 25 additions and 15 deletions

View file

@ -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)) {