Originally Posted by
Danial9874
But, who provide/ allocate the Mode S codes to aircraft ? ICAO ? National Airworthiness Authority ?
Both.
ICAO allocates a range of addresses to each country. The country's NCAA (or equivalent) assigns addresses to individual aircraft.