I am executing the following instruction on the DSP56807: MACSU Y0,X0,B Where, before execution: Y0 = 0xFFF9 X0 = 0x041E B = 0 After: B = B2:B1:B0 = 0x00 083B C65C (it is treating Y0 as unsigned) Why doesn't this instruction treat Y0 as a two's-compliment signed number? (ie. Y0 = -6), in which case the result would be: B = 0xFF FFFF CE98 There has to be a simple explanation - someone please set me straight... Thank you - Bill Schintler |
|
DSP56807 MACSU instruction operation
RE: [motoroladsp] DSP56807 MACSU instruction operation
Dear Bill, The combination
MACSU Y0,X0,B is
invalid
also be carefull when using the code warrior assembler,
because
Jose Torrico
-----Original Message-----
I am executing the following instruction on the DSP56807: MACSU Y0,X0,B Where, before execution:
After:
Why doesn't this instruction treat Y0 as a
two's-compliment signed
B = 0xFF FFFF CE98 There has to be a simple explanation - someone please set
me
------------------------ Yahoo! Groups Sponsor
---------------------~-->
_____________________________________
_____________________________________
To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3
">http://docs.yahoo.com/info/terms/ |