tbot icon indicating copy to clipboard operation
tbot copied to clipboard

Register classes

Open demonpo opened this issue 5 years ago • 3 comments

Classes to store information about registers and interact with them

Signed-off-by: Daniel Garcia [email protected]

demonpo avatar Apr 06 '20 11:04 demonpo

Hi :grin:, this commit has the basic classes. pls, check if they are ok. If everything is ok, what would be the interactions with the registers? (read, write?). A new class should be needed for the interactions?

demonpo avatar Apr 06 '20 11:04 demonpo

Hi, sorry for the late response ... I think the code looks good, although I want to mention one thing: The RegisterMap class currently has methods to add and remove registers. I'd remove them as the register-map is more meant to be a static lookup-list, not something which can be dynamically modified.

Rahix avatar Apr 14 '20 07:04 Rahix

hi @Rahix :wave:, check the new commit. It has some working interactions (read and write) for 32bits processors. The code will need refactoring for sure :sweat_smile: . Tell me what you think about this approach.

demonpo avatar Apr 27 '20 13:04 demonpo