Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑disable_misalignment_exception

In this section:
Syntax
‑‑disable_misalignment_exception
For use with

The C-SPY Simulator driver.

Description

By default, the simulator throws an exception when an access to misaligned data is detected. Use this option to disable that behavior and, in effect, allow accesses to misaligned data.

Caution

To set this option, choose Simulator>Data Alignment Setup and select Notification: None or Notification: Log.