Simplify handling of labels in asm code