Write a subroutine called “generate16” which generates 5 checkbits using the technique shown above The subroutine should assumeeven parity A 16-bit data word will be passed to the subroutine inbits 0-15 of R0 (d0 in bit 0 etc) The subroutine should return a 21bit word in bits 0-20 of R0 with data and check bits in theposition shown Save your subroutine in a file called “generate16.s”and submit to NESS by the deadline stated in NESS
Coursework
OR
OR