Write a RISC-V assembly language function called parity, that takes the number and the value of P in registers a1 and a2, as the parameters and returns the parity corrected number as the result in register a1. Can it be written so it can compatible wtih RISC-V Venus Simulator on VSCode.