If the first address of data segment in an 8086 assembly program is 0000, then what is the last address (in hex)?
If that depends on the amount of ram installed, then I'm talking about dosbox.
If the first address of data segment in an 8086 assembly program is 0000, then what is the last address (in hex)?
If that depends on the amount of ram installed, then I'm talking about dosbox.
A segment in the 8086 is always just 65536 bytes.
Therefore the highest address in the data segment is 65535 or 0FFFFh in hexadecimal.
This does not depend on the amount of RAM installed!
8086 architecture can address 1MB of ram which starts at 0x00000 and ends at 0xfffff.
What's important is, that you cannot access whole address space at once with single segment. When you use ds
segment register (or any other) you can manipulate up to 64kB of RAM at once.