code: def p_BIT(p):
      
      bit = p[2].eval()
      if bit < 0 or bit > 7:
          error(p.lineno(3), 'Invalid bit position %i. Must be in [0..7]' % bit)
          p[0] = None
          return
  
      p[0] = Asm(p.lineno(3), '%s %i,%s' % (p[1], bit, p[4]))
docs: asm : bitop expr COMMA A
              | bitop pexpr COMMA A
              | bitop expr COMMA reg8
              | bitop pexpr COMMA reg8
              | bitop expr COMMA reg8_hl
              | bitop pexpr COMMA reg8_hl