R_MAC32Bit_MULSigned


Operates the signed multiply.

[Syntax]

#include     “r_cg_macrodriver.h”
#include    “r_cg_mac32bit.h”
void    R_MAC32Bit_MULSigned(int32_t data_a, int32_t data_b, mac32bit_int64_t * buffer_64bit);

[Argument(s)]

I/O

Argument

Description

I

int32_t data_a

Multiplicand

I

int32_t data_b

Multiplier

O

mac32bit_int64_t
 * buffer_64bit

Multiplier result

Remark Below is an example of the structure mac32bit_int64_t for the multiplier result.

typedef struct
{
          int16_t low_low;
          int16_t low_high;
          int16_t high_low;
          int16_t high_high;
} mac32bit_int64_t;

[Return value]

None.