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:
parent
db1a71bfff
commit
66a756f1a3
@ -1210,7 +1210,7 @@ dispatch:
|
||||
break;
|
||||
|
||||
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 */
|
||||
goto error_invalid;
|
||||
mem_access_mode = lr.BL;
|
||||
|
Loading…
Reference in New Issue
Block a user