flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 23 Sep 2007, 17:58
segment base address is also used to count final address. so final address is segment base address + offset.
segment limit still works under real mode, segment base is ignored, 32/16bit code works (but interrupt still push only 16bit IP on stack), don't know about others. |
|||
![]() |
|
matefkr 23 Sep 2007, 18:09
ok thank you!
|
|||
![]() |
|
matefkr 05 Oct 2007, 07:52
Just one more thing:
[quote="vid"](but interrupt still push only 16bit IP on stack), don't know about others.[/quote] Is that mean, that even hardware interrupts (i guess)? so if i hit a key on the keyboard, it will push only 16 bit offset when interrupt? |
|||
![]() |
|
vid 05 Oct 2007, 10:29
yes... no way to place code above 1MB
|
|||
![]() |
|
matefkr 13 Oct 2007, 13:13
Another questions:
-can i use address and operand size prefix in real mode? -You mean no way to place code above 1mb if i want interrupts to work correctly or you meant that no way to hold the cs descriptor cache (will it updated anyway?). |
|||
![]() |
|
vid 14 Oct 2007, 17:36
- yes, use can use prefixes.
- you can't. Not because cached CS - that stays unchanged. It is because offset pushed is 16 bit even if code is 32bit. |
|||
![]() |
|
matefkr 15 Oct 2007, 17:41
thanks!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.