TAG decoder