Fill in gaps with 0 before emitting the actual instruction
@mwerner Can you take a look and merge if ok?