flat assembler
Message board for the users of flat assembler.
![]() |
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.
|
|||
![]() |
|
asmrox 14 Feb 2008, 19:13
so why sections was made?
|
|||
![]() |
|
revolution 14 Feb 2008, 19:20
asmrox wrote: so why sections was made? |
|||
![]() |
|
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? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.