EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Content of &BIN_D1 using the IAR Embedded Workbench

Started by "Mua...@yahoo.com.sg [msp430]" November 11, 2015
  Can I check the content of &BIN_D1 for the following MSP430 program using the IAR Embedded Workbench.
How to setup IAR to read the content.
MOV R8,&BIN_D1
RRA &BIN_D1
CALL #BIN_BCD
Thanks

Beginning Microcontrollers with the MSP430

Set a watch window. Depending on your IAR version this will be
sometrhing like VIEW-WATCH-WATCH1 (2,3 or 4).

In that window type in BIN_D1, then right click to seelct the display
format and number of bits/signed/unsigned etc.

It will only update the displayed value when the emulator stops running.

Al

On 11/11/2015 5:32 PM, MuangMuang Soe m...@yahoo.com.sg
[msp430] wrote:
> Can I check the content of &BIN_D1 for the following MSP430 program
> using the IAR Embedded Workbench.
>
> How to setup IAR to read the content.
>
> MOV R8,&BIN_D1
> RRA &BIN_D1
> CALL #BIN_BCD
>
> Thanks
>

The 2024 Embedded Online Conference