When PCSpim opens, pull down the File menu and select Open. Open the file FirstProgram.s from the location where you saved it. To run the program in single steps in pcspim press F10 for each instruction. Getting to Main: Keep pressing F10 till you reach the instruction at main’s address 0x00400024 (shown on left side in test window).
For More Information Please Refer: