Arch is SuperH. I have some variables specified like this:
buffer_address: .long buffer
buffer: .zero 1024
However, for certain buffer reads, I need to read as cache-through. The way to do that on SuperH is to just OR the memory address with 0x20000000.
I would prefer to do this at assemble time, ie, specify a new variable for the cache-through address:
buffer_address_cache_through: .long buffer !(but ORed with 0x2000000 somehow)
What’s the gnu assembler syntax for what I’m trying to do here?