Add emit_cmp.
Add emit_label() and set_label().
Commit unsaved bits.