From 3c8cf4e15b6be7bbefc470111e6178780aced0df Mon Sep 17 00:00:00 2001 From: Dan Luu Date: Sat, 16 Mar 2013 17:22:34 -0400 Subject: [PATCH] document lar/lsl descriptor checking --- cpux86-ta.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cpux86-ta.js b/cpux86-ta.js index 72ee092..ee13236 100644 --- a/cpux86-ta.js +++ b/cpux86-ta.js @@ -4732,6 +4732,7 @@ CPU_X86.prototype.exec_internal = function(N_cycles, interrupt) { } } else { descriptor_type = (descriptor_high4bytes >> 8) & 0xf; + //Valid descriptors fall through this switch. Invalid descriptors return null switch (descriptor_type) { case 1: case 2: