title: How do you view segment-offset memory addresses in the Visual Studio debugger?
body: <p>I'm debugging some code from the disassembly (no source code is available), and there a number of instructions accessing data via the <code>ds</code> segment register, e.g. something like this:</p>
  
  <pre><code>66 3B 05 8A B1 43 00 cmp         ax,word ptr ds:[43B18Ah]
  </code></pre>
  
  <p>How do you get the Visual Studio debugger to tell you the offset of the <code>ds</code> segment register so that I can inspect the memory this is referring to?  The Watch window does not seem to accept expressions like <code>ds:[0x43B18A]</code> or variants; it will tell me that <code>ds</code> is 0, but that doesn't tell me what segment 0's offset is.</p>
  
  <p>Is there some special syntax for this, or is this something that VS just can't do?  Would I have better luck with another debugger, such as WinDbg or ntsd?</p>