mcu_instruction_spacing
mcu_config_spacing mcu_eeprom_spacing mcu_uid_spacing mcu_erase_page_size mcu_write_row_size mcu_id mcu_can_use_method mcu_can_debug mcu_debug_cap mcu_bp_classes mcu_bp_class_first mcu_bp_class_count mcu_bp_class_cap mcu_bp_class_max_count mcu_debug_rom_reserve mcu_debug_ram_reservemcu_instruction_spacing
This function returns the number of address bytes occupied by an instruction
Syntax
int mcu_instruction_spacing(
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 difference between addresses of two consecutive instructions.
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 spacing for full size instructions (4 for PIC32MM).
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.