One of the purposes of using intermediate code in compilers is to
https://gateoverflow.in/2453/gate1994-1-12
@Rhythm
Nope. Register Allocation is part of Code Generation.