Replace most of the ASM implementation with C.
readmbr: port to C