return *all* registers of cfg
Merge pull request #1 from victorsavu3/master

return *all* registers of cfg