Buy Contact NSDSP Home

mcu_instruction_bits

This function returns the size of the instruction word.

Syntax

int mcu_instruction_bits(
        mcu_t             mcu
);

Parameters

mcu - a reference to the MCU object returned by mcu_create or mcu_get_slave_core function.

Return

The function returns the number of bits in the instruction word.

Notes

Some of the target devices have variable instruction length. For example, PIC32MM uses MicroMIPS where the instructions may be 16-bit or 32-bit long. In such cases, the function returns the length of full size instruction (32 for PIC32MM).

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.