3 posts.
B and J immediates look shuffled, but each immediate bit lives in at most a few fixed instruction bits across all formats, which keeps the decoder small.
A hazard is when the next instruction can't safely enter its next stage. Data, control and structural hazards, forwarding, and why a load costs one stall.
RISC-V is an open instruction set. How its 32 registers and six instruction formats work, worked through for addi x1, x0, 5, which encodes as 0x00500093.