flat assembler
Message board for the users of flat assembler.
Index
> Windows > segmentation |
Author |
|
System86 14 Feb 2008, 03:00
Windows does not use segmentation (except for the fs segment register, but that's a different story). It uses flat addressing, and in your code you attempted to access address 0, which your application can't do, so it crashed. Forget about cs/ds/es/ss under Win32, the segment registers always have 0 base, 4 GB limit, so you can ignore them.
|
|||
14 Feb 2008, 03:00 |
|
asmrox 14 Feb 2008, 19:13
so why sections was made?
|
|||
14 Feb 2008, 19:13 |
|
revolution 14 Feb 2008, 19:20
asmrox wrote: so why sections was made? |
|||
14 Feb 2008, 19:20 |
|
asmrox 14 Feb 2008, 20:31
so even simply hello world will load 4096 bytes memory of?
is that same as heap? can i use rest of memory? Where is the pointer to it? |
|||
14 Feb 2008, 20:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.