Abstract: Abstract This report deals with code generation in a PASCAL compiler. It gives insight into the runtime organization of data and the use of the hardware registers of the underlying machine (a CDC 6400). It is shown how the compiler maintains a description of the register contents and uses this description to generate efficient code. Several examples of compiled code are discussed.