total cost to replace ecm at a shop on 1992 BMW 325is

trying to find out what a mechanic will charge me to replace the ecm

Asked by for the 1992 BMW 325is
To replace the module you will be charged an hours labor a rebuilt module is about $500 to $1000.
thank you i see the computer on ebay for 100 dollars does the cost occur for programing?