Can you please repost the question in PSoC1 topics of the forum?
In this space, PSoC5 topics are discussed.
You need to enable Global Interrupts for the ADC to work. Add the code "M8C_EnableGInt;" in main. See if this fixes the problem. Also, check out my blog post PSoC1 ADCs - The Five Golden Rules that talks about best practices to get the ADC working without any problem.