mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[FAST486]
All of the FPU opcodes fetch another byte which is the function number. This is done by the CPU and it occurs even if there is no FPU attached. svn path=/branches/ntvdm/; revision=62344
This commit is contained in:
parent
e29c05a3d5
commit
935289b5bc
1 changed files with 72 additions and 0 deletions
|
@ -35,8 +35,17 @@
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -50,8 +59,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD9)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -65,8 +83,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD9)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDA)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -80,8 +107,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDA)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -95,8 +131,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDC)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -110,8 +155,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDC)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDD)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -125,8 +179,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDD)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDE)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
@ -140,8 +203,17 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDE)
|
|||
|
||||
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDF)
|
||||
{
|
||||
UCHAR Function;
|
||||
|
||||
FPU_CHECK();
|
||||
|
||||
/* Fetch the function number */
|
||||
if (!Fast486FetchByte(State, &Function))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_FPU
|
||||
// TODO: NOT IMPLEMENTED
|
||||
UNIMPLEMENTED;
|
||||
|
|
Loading…
Reference in a new issue