wip: x86 implementation of globals