mirror of
https://github.com/simh/simh.git
synced 2026-02-09 01:31:39 +00:00
MASM generates REP CS:MOVSW as: REP CS: MOVSW The Seattle Computer Products 8086 assembler allows the segment override as a discrete opcode. This means that: CS: REP MOVSW is also possible, and in fact used in the SCP Monitor v1.6. The i86 emulator was clearing the override flags when REPE/REPNE, is encountered, which causes the segment override to be lost. Verifying the behavior of a real 80286 processor in an IBM PC/AT (5170) using MS-DOS 6.22 DEBUG shows that both instruction sequences yield the desired segment override.
147 KiB
147 KiB