EmbeddedRelated.com
Forums

how to hard code the multiply routine in assembly..??

Started by Khubaib August 11, 2003
Dear members !
In a C code, how to write assembly routine for multiplication?. i.e. 
how to multiply 2 C variables with the help of assembly instructions 
for F149 micro?. (it has the hardware multiplier). I am using the IAR 
Embedded Workbench v2.10A. Are there any special settings for the 
Assembler?.
Regards
KHubaib


Beginning Microcontrollers with the MSP430

Hi Khubaib,
            Please refer (slaa024		MSP430 Family Mixed
signal microcontroller application reports) doc from
http://msp430.com

from you will find asm code for multiplecation.

Best Rgds...
Naveena

--- Khubaib <khabi_uet@khab...> wrote:
> Dear members !
> In a C code, how to write assembly routine for
> multiplication?. i.e. 
> how to multiply 2 C variables with the help of
> assembly instructions 
> for F149 micro?. (it has the hardware multiplier). I
> am using the IAR 
> Embedded Workbench v2.10A. Are there any special
> settings for the 
> Assembler?.
> Regards
> KHubaib
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/ 
> 
> 


__________________________________