Adding i386 support.

Adding memory functions so I can keep track of memory within the heap.