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, r0
Edit: Problem solved with the help from the guys on IRC:
Code: Select all
setd res[r1], r0
Code: Select all
Error: no format matching for instruction 'setd'
Code: Select all
setd r1, r0
Code: Select all
setd res[r1], r0
Code: Select all
asm("ldaw %0, dp[%1]" : "=r"(result) : "i"(address))