You can use WHEN-ELSE construct for this.
If temp is your output signal, then use the following code.
temp <= "00001001" when mode = '0' else "10010010";
If the mode can take more values, then may be you can use the ROM coding style.
Case (mode) is
when "0000" temp <= "0001";
when...