Never mind... my mistake... it's not that the hex literal is illegal... it's that it's too large... forgot that there are a limited number of bits permitted with the addi operation... and that li is a pseudo-operation that gets expanded into a lui and addi to permit larger literals to be loaded into a register by breaking it up into two separate operations. Doh.
I'm trying to include some assembler code in a RISC-V project and am running into some weirdness. Hex literals are not working with an "add immediate" (addi), but base ten and binary literals do. Here are a few lines: Source Code (5 lines) Not sure why that would be the case... any thoughts as to what I might be doing wrong?James