Added code generation for immediate->register and register versions of MOV, XCHG, ADD, SUB, AND, OR, XOR, TEST, CMP, INC and DEC.

This commit is contained in:
TomW 2015-01-16 21:22:14 +00:00
commit 630592125c
11 changed files with 1568 additions and 30 deletions

View file

@ -11,3 +11,6 @@ enum
{
OP_RET = 0xc3
};
#define NR_HOST_REGS 3
extern int host_reg_mapping[NR_HOST_REGS];