Task #6377
closed
Support for user-defined attributes
Added by Alexander Kamkin almost 9 years ago.
Updated about 8 years ago.
Description
reg X[32, DWORD] // Array of 32 DWORD Registers
mode REG(i: card(5)) = X[i] // One-to-One Correspondence
syntax = format("x%d", i) // Assembly Format (e.g., x13)
image = format("%5s", i) // Binary Encoding (e.g., 1101)
number = i // Register Number (custom)
rd.number
- Priority changed from Normal to High
- Status changed from New to Feedback
- Assignee changed from Andrei Tatarnikov to Alexander Kamkin
In task Task #6372, we implemented external access to arguments. Now you can get the register index in the following way:
rd.i
As for support for externally-visible custom attributes, I am not sure this is a good idea. With such attributes, operations will have several entry points. This will complicate exploring their control flow. For example, some arguments can be IN or OUT in different contexts.
If external access to arguments is enough to solve our tasks, I don't see reasons to provide external access to custom attributes.
- Status changed from Feedback to Resolved
- Status changed from Resolved to Rejected
Also available in: Atom
PDF