An attempt to make v86 ignore endbr32/endbr64 instructions (#344)
An attempt to make v86 ignore endbr32/endbr64 instructions
This commit is contained in:
parent
94b86c0842
commit
20469fe4ef
1 changed files with 6 additions and 1 deletions
|
|
@ -1930,7 +1930,12 @@ t[0x1A] = cpu => { cpu.unimplemented_sse(); };
|
|||
t[0x1B] = cpu => { cpu.unimplemented_sse(); };
|
||||
t[0x1C] = cpu => { cpu.unimplemented_sse(); };
|
||||
t[0x1D] = cpu => { cpu.unimplemented_sse(); };
|
||||
t[0x1E] = cpu => { cpu.unimplemented_sse(); };
|
||||
// endbr32/endbr64
|
||||
t[0x1E] = cpu => { cpu.read_modrm_byte()
|
||||
// multi-byte nop
|
||||
if(cpu.modrm_byte < 0xC0)
|
||||
cpu.modrm_resolve(cpu.modrm_byte);
|
||||
};
|
||||
t[0x1F] = cpu => { cpu.read_modrm_byte()
|
||||
// multi-byte nop
|
||||
if(cpu.modrm_byte < 0xC0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue