Wagner, Robert A.2007-04-192007-04-191970-08http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR70-69https://hdl.handle.net/1813/5928This paper describes a scheme for using the facilities of a macro assembler to aid in allocating program variables to local-memory registers. The scheme allows the programmer to write the entire program before making any register-allocation decisions. The scheme requires that the programmer make explicit his assumptions about register ordering and usage, thus improving documentation. Key Words and phrases: register allocation, register assignment, symbolic register names, macro assembler, variable allocation, scalar variable equivalence, graph coloring.1019970 bytes269866 bytesapplication/pdfapplication/postscripten-UScomputer sciencetechnical reportRegister Allocation in Assembly Languagetechnical report