INL-retro-progdump/firmware/source/logic.h

16 lines
306 B
C

#define LO 0x00
#define HI 0xFF
//DDR values
#define IP 0x00
#define OP 0xFF
//FALSE is ANYTHING but TRUE, the value signifies the error number
#define TRUE 0x00
#define SUCCESS 0x00
#define ERR_UNKN_PP_OPCODE_ONLY 1
#define ERR_UNKN_PP_OPCODE_8BOP 2
#define ERR_UNKN_PP_OPCODE_16BOP 2