結果 : how does a 2 bit priority encoder work