Seperate asmstring parsing from emission. This allows the code to be simpler