I had to do that when writing programs in z80 assembly language - then converted to HEX bytes for each instruction.
It was always a pain because instruction-length varied and you had to account for the length when calculating the number of bytes to jump forwards/backwards. (I tended to prefer relative-jumps to absolute ones, but either way the same problem remained.)