Sir,
On stage 19, I am trying to implement a linked list in ExpL. While doing so, I noticed that if I use the read function provided by ExpL, I am unable to read the correct value into the dynamically allocated variable. But the same works if I do an exposcall() to the "Read" function.
I was able to deduce that read() works on static variables whereas not on dynamic variables. While exposcall() to "Read" works for both. Also, while calling read() as well as exposcall(), the INT 6 is getting called. So, the system call is made by both.
When I call read() for a dynamic variable an incorrect address is getting passed (I presume), which is in the code space of the program and a memory exception is raised. The exception showed an address 2302 in EMA (varies if a make changes to program but always in the same code page), which is in the code page of the program.
Can you help me understand this? Please let me know if I need to provide more context.
Thank you