I think,since memory of intel microprocessors is byte organized and size of instruction queue is 4 bytes,the answer would be 4 instructions?
The 8086 and 8088 chips have prefetch queues. These stored a number of bytes pre-fetched from the memory "ahead" of the instruction pointer (and code segment). This allows the processor to do something "useful" in what otherwise would have been an idle bus cycles.
The 8088 prefetch queue was four bytes deep. The 8086 queue was six bytes deep.
Again, these do not correspond to a set number of instructions, but a number of bytes.
So the answer to your question is as many as four (or six) (single byte) instructions, or not even one whole instruction (for the longer ones).
BTW: The 8088 had a smaller queue because its small 8 bit bus meant that there were fewer idle cycles available and a bigger queue would have slowed the process down. The 8086 can fill its queue in 3 bus cycles, the 8088 needs four cycles to fill its smaller queue.
© 2022 - 2024 — McMap. All rights reserved.
xchg ax, cx
can decode and execute as soon as its fetched, even if it's the only byte in the buffer, right? I'd guess that 8088 didn't benefit as much from a larger queue, so it makes sense to cut it down along with the bus width, though, just to lower the transistor count. – Boyette