My friend would like to make an address decoder for Z80 see the truth table: Blue is "0" and red is "1". How to make the HW logic ?