flat assembler
Message board for the users of flat assembler.
Index
> Main > what does register:register mean? |
Author |
|
asmdemon 09 Feb 2005, 14:25
When in DOS, the mode the processor is in is usually real mode. (this is apposed to Protected mode) While in real mode code and data access is done by segment registers(CS, DS, ES, FS, GS, SS) and a data indicating the offset (IP, AX, BX, CX, DX, SP, BP ...). These 2 registers linked to gether, ie CS:IP, indicates the location in memory you are trying to reference. To calculate the actual address, multiply the Segment register by 16d (0x10, 10h) and then add the offset. Therefore, 07C0:0000 is equal to 0000:7C00 because they both reference the same location in memory (0x07C00). I hope this answers your question.
|
|||
09 Feb 2005, 14:25 |
|
vid 09 Feb 2005, 23:07
|
|||
09 Feb 2005, 23:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.