How to develop source code for testing RAM in Assembly

Hi I need to develop a source code for testing RAM for 89c51. can any one help me how to develop source code.

More questions in this forum