be: Factorise the code to emit an asm node and use a callback for each backend to output the operands.