mstate->m
comments & register numbers
typo
more comments