Casting # 500557 could be anything from a '75-'79.
As
LOMILETA states, having the date code (near the distributor) will enable you to determine the year ....and engine block code (front of engine, passenger side of timing cover)will help with determining what car the engine came from originally.
Pontiac Engine #'s locations:
2 letter block code (front of engine/RH side):
Partial VIN stamping ( matches car if original engine...front of engine/RH side):
Block casting # (rear of engine/RH side/right of distributor)
Date/assembly #'s (near distributor shaft hole):