Edited version of asm.