glasgow icon indicating copy to clipboard operation
glasgow copied to clipboard

Design better API for adding registers

Open whitequark opened this issue 6 years ago • 1 comments

Right now all registers are added directly through target and accessed directly via device, which is quite suboptimal as it requires manually tracking addresses and width instead of being able to refer to registers symbolically. We need a better API.

whitequark avatar Apr 15 '19 11:04 whitequark

As a bonus this API should allow third-party code (i.e. not running as a part of Glasgow Python codebase) to discover the register numbers.

whitequark avatar Apr 15 '19 11:04 whitequark