mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:35:45 +00:00
[SOFT386]
Implement helper functions for reading/writing operands of instructions that use the MOD-REG-R/M byte. Implement the MOD-REG-R/M ADD instruction for bytes. svn path=/branches/ntvdm/; revision=59981
This commit is contained in:
parent
6f2f5335c2
commit
5f874178e7
4 changed files with 432 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
|||
#endif
|
||||
|
||||
#define SOFT386_NUM_OPCODE_HANDLERS 256
|
||||
#define SOFT386_OPCODE_WRITE_REG (1 << 1)
|
||||
|
||||
typedef BOOLEAN (FASTCALL *SOFT386_OPCODE_HANDLER_PROC)(PSOFT386_STATE, UCHAR);
|
||||
|
||||
|
@ -207,4 +208,12 @@ Soft386OpcodeMovByteRegImm
|
|||
UCHAR Opcode
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
FASTCALL
|
||||
Soft386OpcodeAddByteModrm
|
||||
(
|
||||
PSOFT386_STATE State,
|
||||
UCHAR Opcode
|
||||
);
|
||||
|
||||
#endif // _OPCODES_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue