mirror of https://github.com/mgba-emu/mgba.git
Fix data format 3
This commit is contained in:
parent
d3abd2dc63
commit
e577df2142
|
@ -97,13 +97,13 @@ DEFINE_DATA_FORM_1_INSTRUCTION_THUMB(SUB, )
|
|||
DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(ADD, )
|
||||
DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(SUB, )
|
||||
|
||||
#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RM, BODY) \
|
||||
#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RD, BODY) \
|
||||
DEFINE_INSTRUCTION_THUMB(NAME, \
|
||||
int rd = RD; \
|
||||
BODY;)
|
||||
|
||||
#define DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(NAME, BODY) \
|
||||
COUNT_3(DEFINE_DATA_FORM_2_INSTRUCTION_EX_THUMB, NAME ## _R, BODY)
|
||||
COUNT_3(DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB, NAME ## _R, BODY)
|
||||
|
||||
DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(ADD2, )
|
||||
DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(CMP1, )
|
||||
|
|
Loading…
Reference in New Issue