News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Segment registers?

Started by srod, December 12, 2006, 08:38:46 PM

Previous topic - Next topic

srod

Hi,

as someone relatively new to assembly language programming, I'm busy reading and coding as much as I can and of course asking as many questions as I can in the hope of learning from you gurus around these parts!  :bg  At the moment, I'm wading through the second of the Intel software developers manual - which is a little heavy going!

There is something puzzling me a little at the moment, namely segment registers?  I think I understand their purpose in enabling us to separate code and data etc, but what I don't get is just how these registers impact me as an applications programmer?

As someone only ever programming for win 32, are they something I need to overly concern myself with? Or can I basically ignore them and continue learning about the basic instruction set and basic x86 architecture etc.

Thanks in advance.

Stephen.


stanhebben

In win32, all programs use flat segment code. That means that all segment registers point to the same segment, so you can ignore them.

srod

Huh, that simple!

Thanks, just what I needed.  :8)