Implement sub ping in MIPS