mirror of https://github.com/nmlgc/ReC98.git
13 lines
331 B
C
13 lines
331 B
C
|
/* 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 */
|
||
|
// ----------------
|