data encoders and manipulation for mjolnir_asm