diff options
Diffstat (limited to 'util/vgabios/x86emu/src')
-rw-r--r-- | util/vgabios/x86emu/src/x86emu/decode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/util/vgabios/x86emu/src/x86emu/decode.c b/util/vgabios/x86emu/src/x86emu/decode.c index 3844d985f9..a97edd92a6 100644 --- a/util/vgabios/x86emu/src/x86emu/decode.c +++ b/util/vgabios/x86emu/src/x86emu/decode.c @@ -669,7 +669,12 @@ u16 *decode_rm_seg_register(int reg) DECODE_PRINTF("DS"); return &M.x86.R_DS; case 4: - case 5: + DECODE_PRINTF("FS"); + return &M.x86.R_FS; + case 5: + DECODE_PRINTF("GS"); + return &M.x86.R_GS; + case 6: case 7: DECODE_PRINTF("ILLEGAL SEGREG"); |