SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
The operands that are used in MATCHACL functions are 32-bit fixed point numbers. Operands can be expressed as unsigned 32-bit integers, signed 32-bit integers, unsigned 32-bit numbers, and signed 32-bit numbers.
Table 5-1 summarizes the data formats that are used in the MATHACL.
Data format | Data type | Signed format | Data range |
---|---|---|---|
Unsigned 32-bit integers | Uint32_t | 2’s compliment | 0 to 232 - 1 |
Signed 32-bit integers | int32_t | 2’s compliment | -231 to 231– 1 |
Unsigned 32-bit numbers | UQm.n | Signed magnitude | 0 to (232)/2n |
Signed 32-bit numbers | SQm.n | Signed magnitude | (-231)/2n to (231)/2n |