Commit 5c73b75
target-i386/translate.c: mov to/from crN/drN: ignore mod bits
> This instruction is always treated as a register-to-register (MOD = 11)
> instruction, regardless of the encoding of the MOD field in the MODR/M
> byte.
Also, Microport UNIX System V/386 v 2.1 (ca 1987) runs fine on
real Intel 386 and 486 CPU's (at least), but does not run in qemu without
this patch.
Signed-off-by: Matthew Ogilvie <mmogilvi_qemu@miniinfo.net>
Signed-off-by: malc <av1474@comtv.ru>1 parent 145c7c8 commit 5c73b75
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7551 | 7551 | | |
7552 | 7552 | | |
7553 | 7553 | | |
7554 | | - | |
7555 | | - | |
| 7554 | + | |
| 7555 | + | |
| 7556 | + | |
| 7557 | + | |
| 7558 | + | |
7556 | 7559 | | |
7557 | 7560 | | |
7558 | 7561 | | |
| |||
7594 | 7597 | | |
7595 | 7598 | | |
7596 | 7599 | | |
7597 | | - | |
7598 | | - | |
| 7600 | + | |
| 7601 | + | |
| 7602 | + | |
| 7603 | + | |
| 7604 | + | |
7599 | 7605 | | |
7600 | 7606 | | |
7601 | 7607 | | |
| |||
0 commit comments