Add assembler support for branches; Improve regex