This repo is a very minimalist illustration of how simple it is to implement error detection and correction with hamming codes.
I would love to implement this in some assembly as well. It seems simple enough and it may be a good excuse to look into ARM Assembly.