Simplify memory access mode check.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@833 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-03-27 00:35:34 +00:00
parent db1a71bfff
commit 66a756f1a3

View File

@ -1210,7 +1210,7 @@ dispatch:
break; break;
case 0x01: case 0x01:
if ((lr.BL & FIT_U_MASK) > FIRST_FIT_U || /* 0xc0, 0x80 */ if (lr.BL > LAST_FIT_U || /* 0x82 */
(lr.BL & FIT_MASK) > LAST_FIT) /* 0x3f, 0x02 */ (lr.BL & FIT_MASK) > LAST_FIT) /* 0x3f, 0x02 */
goto error_invalid; goto error_invalid;
mem_access_mode = lr.BL; mem_access_mode = lr.BL;