If i keep a AMO for market price and not limit price, will it get executed as soon as the market opens or during pre open ?

If it is limit or market it will be sent to exchange at 9 and may execute during pre open if it matches the demand and supply criteria, if not will be sitting at exchange and passed to normal session.
For more on pre open.