When I use the mnemonic SETD in a foobar.S file, I get:
Code: Select all
Error: no format matching for instruction 'setd'Code: Select all
setd r1, r0Edit: Problem solved with the help from the guys on IRC:
Code: Select all
setd res[r1], r0Code: Select all
Error: no format matching for instruction 'setd'Code: Select all
setd r1, r0Code: Select all
setd res[r1], r0Code: Select all
asm("ldaw %0, dp[%1]" : "=r"(result) : "i"(address))