Forums

Assembly Help for ADI-TS101

Started by Unknown September 5, 2006
Hello, I'm trying to do some assembly stuff for the TS101 Tiger Sharc
from ADI and I'm getting stuck. Here is my code:

// need to do a multiplication
"yfr11 = r6 * r5;;	" // r6 fixed data, r5-floating data

// now I want to left shift the result 20-bits to the left, logical
left shift
"yr7 += FDEP r11 by 0x140a;;" // logicall left shift 10-bits in yfr11

The problem is when I try to do the left shift, the result is not what
I expect. Can anyone give me some help? 

Thanks,
joe