ReC98/decomp.h

13 lines
331 B
C
Raw Normal View History

/* ReC98
* -----
* Macros to help decompiling the seemingly impossible
*/
// Flag comparisons
// ----------------
// When used inside a conditional expression like
// if(FLAGS_*) { goto some_label; | return; }
// these assemble into the single given instruction.
#define FLAGS_ZERO (_FLAGS & 0x40) /* JZ */
// ----------------