Current location - Loan Platform Complete Network - Big data management - When debugging a program, the data segment defines a variable. How to check the value of this variable? How to view it with the d command?
When debugging a program, the data segment defines a variable. How to check the value of this variable? How to view it with the d command?
Generally defined in the data, that is, the data segment, that is to say, the content of the DS register is the base address of the data segment, and then look at the offset address.

For example, the data segment ORG 1000 defaults to (0) STR 1db 1, 2,3str2db1,2,3 data end offset is loaded from 1000h, so str1.