First step for writeRegistersToReport