Restructured asm.cc into pass1 pass2 procedure calls