Allocating local variables using CPU registers