Archived

This topic is now archived and is closed to further replies.

bosjoh

Just a few more registers...

Recommended Posts

I know all assembler registers except these: IP, BP, CS and SS. Any one knows what they are for (I know one of them is a code pointer), and what they do? And I also know that EIP and EBP are the 32bits version of IP and BP. Stuck... Edited by - bosjoh on 4/7/00 1:38:42 PM

Share this post


Link to post
Share on other sites
IP - Instruction pointer. Where you are in the code.
BP - Base? pointer. Commonly used as a frame pointer (parameters and local routine variables accessed relative to BP).

CS, DS, SS, ES - Segment registers. Legacy and really don't need to worry about them. (Code, Data, Stack, extra?)

Tim


Edited by - timsmith on 4/7/00 1:50:45 PM

Share this post


Link to post
Share on other sites
Well, although you don''t usually have to worry about CS,DS,ES,...., they aren''t really legacy. In protected mode, they serve as the selectors instead of segments. They are always used.

Rock

Share this post


Link to post
Share on other sites