2011/11/20 Georg-Johann Lay <a...@gjlay.de>: > Subtracting 0x20 to get the SFR address from a RAM address is scattered all > over the backend. The patch makes - PRINT_OPERAND_PUNCT_VALID_P and uses %- > to > subtract the SFR offset instead of hard coded magic number 0x20 all over the > place. The offset is stored in a new field base_arch_s.sfr_offset
I don't like '%-' as a sequence and I don't like it as a suffix. May be a right way is an adding a new prefix '%i' or '%I'. I.e. %m0 - memory address %i0 - io address (equal to %m0 - 0x20) Denis.