flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
You don't seem to be initialising the DS register with the value of varseg.
|
|||
![]() |
|
redsimplex
revolution wrote: You don't seem to be initialising the DS register with the value of varseg. thanks! problem solved. But I don't understand what happened there, will you mind to explain? |
|||
![]() |
|
revolution
When you don't specify a different segment register all the memory writes that don't use SP are controlled by DS.
|
|||
![]() |
|
Trinitek
DOS does not set DS to a useful value when starting an EXE. You were effectively writing to a location in memory that wasn't where your variables were located.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.