Assigning bit to GPIO stm32

How I can assign 8 bits of a byte to different GPIO pins.

What I am trying to do is to convert HEX to binary and then want to assign each bit to 8 different GPIO output pins.

 but I am unable to do anything. As there is no Sbit or single-bit data type