'7747 is a "generic" ECM, as are most of the ones GM used. Probably to be found in a bunch of GM vehicles, most/all probably TBI...S10's, cars, etc. '165 would be a common ECM used on TPI vehicles, V8 and V6.
There are so many "chips" (PROM's) that were used however, it's almost unfathomable. EVERY single drivetrain combination out there had a different PROM. Say you're dealing with a 1991 K5 (for instance). Since that could be had with 465 or 700, you've got two PROM's right there. Then couple that with two different rear axle ratio combos with either transmission. Then multiply that with CA emissions and Federal emissions. Then AC and no AC. As you can see the "options", all of which changed the PROM calibration, mean literally hundreds of PROMs. This is why manufacturers now tend towards "standardized" drivetrains and option packages (see GM dropping manual transmissions in trucks, tuning being just one issue deciding that I'm sure), as it reduces the R&D and EPA testing required, as each combination/PROM has to be certified before being "legal" for sale.
With that said, in reality, few of the differences actually mean anything to the swapper. They will certainly affect how fuel is consumed and how well it runs, but compared to say a tire or axle ratio change, will be relatively unnoticed. Auto vs. manual would be a big one, whereas the difference in a PROM for 3.08 to 3.42 would be miniscule. (and even then auto vs. manual tends to run ok when swapped)