mcs51.c: Initialize all serial state and added serial state to the save state (nw)