The computer system generates them. There are certain slot ranges for every facility. It's not that the controller punches in something he came up with on his own. He requests a squawk from the system, and then the computer spits out one, and that's the one he/she tells the pilot over the radio.