[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:
Aleksandar Andrejevic 2013-09-04 01:11:12 +00:00
parent 6f2f5335c2
commit 5f874178e7
4 changed files with 432 additions and 2 deletions

View file

@ -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_