Add emit_add, emit_sub for portable