I want to load a word from 0x0200bff8 address into t1 register. I tried the following;
lui t0, 0x0200b; // Write Upper 20 bits into t0
lw t1, 0xff8(t0); //fetch a word from address in t0 offsetted by 0xff8 (12 bits)
I thought its syntactically right, but I see this error
Error: illegal operands `lw t1,0xff8(t0)'
What am I doing wrong and what is a good way in terms of less instructions to load a word from an immediate address?