Visual Studio won't show the string values in address, specified by label in address box

0

The image of an IDE

The context is that after typing in greeting1 into the Address Box, it leads me to the address location 0x00000047, and only the questions marks show up. In my understanding, labels defined under the data segments could be used to specify an address location, where I am expecting to see the string values.

Thank you.

assembly
x86
visual-studio-2017
asked on Stack Overflow Aug 9, 2017 by asd • edited Aug 9, 2017 by drescherjm

1 Answer

2

The 0x47 that you see is the ascii code of letter G so when you've entered the label name it will try to convert it to an address and display it. If you want to see the content of the label try &greeting1.

answered on Stack Overflow Aug 9, 2017 by Paweł Łukasik

User contributions licensed under CC BY-SA 3.0