Modern Computer Architecture and Organization, by Jim Ledin. Published by Packt Publishing.
Make the checksum validation code from exercise 4 into a labelled subroutine that can be called with a JSR instruction and that ends with an RTS instruction.
See Ex__5_checksum_subroutine.asm