An m10 is the stock motor. I don't know the code for the 318i motor.

All stock manuals are 4 speed but you can easily put in an early 80s 5 speed. (As many people do)

An m10: