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.

4
  • 1
    I don't believe an address this low will be used so its understandable to me that you can't view the data.
    – drescherjm
    Commented Aug 9, 2017 at 1:10
  • I've updated the context of the problem.
    – asd
    Commented Aug 9, 2017 at 1:14
  • 1
    How did you decide that is the proper address? Are you sure it is not an offset from another base address? Commented Aug 9, 2017 at 1:19
  • In my understanding, the labels are representations of the address; thus, I thought typing in the label into the address box will direct me to the values I've assigned it to.
    – asd
    Commented Aug 9, 2017 at 1:26

1 Answer 1

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.

1
  • @dlee67 happy to help. Can you accept this as an answer then? Commented Aug 9, 2017 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.