Topic : 64bit result from 32 x 32 multiply... possible?

Forum : ARM

Original Post
Post Information Post
April 30, 2009 - 3:48pm
Guest

Is it possible to get a 64 bit result from a 32 x 32 bit multiply using Ride7 C for the STM32? If not then is it possible in assembler?

Many thanks if you can help!!

Replies
Post Information Post
+1
0
-1
May 4, 2009 - 11:53am
Guest

In assembler you got SMULL.W that take 32 x 32 bit and save result to 64bit (2 registers).

Edit: Beware of raisonance simulator will calculate the upper register wrong.