Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
7 years ago

Impossible to modify the size of an expression in the DS-5 AE Debbuger

Hello,

I would like to show in the expression tab a word in memory (4bytes).

The address of the word is made from a label + an offset.

When I show it in the expression tab I can only see one byte. (See attached file)

What can I do to specify the size of the data?

Thanks for your help.

Jerome

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The solution is to use this syntaxe :

    *((unsigned int *) memory_address)

    Jerome