FireRed and LeafGreen have no trade codes. You trade at the second-floor Trade Center of a Pokémon Center, and a trade is also how you get the Pokémon only the other edition has — Ekans in FireRed for Sandshrew in LeafGreen, for example.
Link Cable · Generation 3 · Kanto, Sevii Islands
Trade codes for every Pokémon game · FireRed & LeafGreen maps & guides