code: def t_asm_ASM(t):
      r'\b[eE][nN][dD][ \t]+[aA][sS][mM]\b'
  
      global IN_STATE
  
      t.lexer.begin('INITIAL')
      t.value = ASM
      t.lineno = ASMLINENO - 1
      IN_STATE = False
  
      return f t_asm_ASM(t):
      r'\b[eE][nN][dD][ \t]+[aA][sS][mM]\b'
  
      global IN_STATE
  
      t.lexer.begin('INITIAL')
      t.value = ASM
      t.lineno = ASMLINENO - 1
      IN_STATE = False
  
      return t
docs: r'\b[eE][nN][dD][ \t]+[aA][sS][mM]\b