For a class I'm taking, we need to develop allocation utilities.
Safety aside, I will be using far pointers to receive and assign addresses to some structures. I am also not allowed to use "memalloc" in this assignment.
I referred to: Linked Lists in C without malloc to learn how to make a linked structure without using memalloc. However, I need to know how I can assign a new instantiation to a particular address. For example, if I have a starting pointer to address 0x5000, I would like to create my list so that I can use an incremental offset (let's say 256 for example) to start my next structure 256 bytes ahead (in terms of address) of my starting point.
This assignment is based on becoming familiar with segmentation and the x86 architecture.
Any help is appreciated!