added macros to handle z80_t flag bits