flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 18 Mar 2023, 08:17
revolution wrote: How to get 10-bytes in the 80286? All without cheating by using redundant or invalid prefixes? INTEL 80286 PROGRAMMER'S REFERENCE MANUAL wrote: Do not Duplicate Prefixes. The 80286 sets an instruction length limit of 10 bytes. The only way to violate this limit is by duplicating a prefix two or more times before an instruction. Exception 6 occurs if the instruction length limit is violated. The 8086/8088 has no instruction length limit. The 386 manual has its own version of this paragraph: INTEL 80386 PROGRAMMER'S REFERENCE MANUAL wrote: The 80386 sets a limit of 15 bytes on instruction length. The only way to violate this limit is by putting redundant prefixes before an instruction. Exception 13 occurs if the limit on instruction length is violated. The 8086/8088 has no instruction length limit. |
|||
![]() |
|
revolution 18 Mar 2023, 08:50
I suspect there were some widely used applications for the 8086/186 that had redundant prefixes for 10-byte instructions. And Intel didn't want to break them all by imposing an 8-byte limit on the 286. The 286 would have been a commercial failure if it couldn't run the existing 8086 apps.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.