Or... is this supposed to emit a linkable object? "global" would suggest so (doesn't do anything in "-f bin" mode)...
If so:
mov ax, data
mov ds, ax
at the beginning of your code. If it's for Linux, there's a whole lot more than that wrong with it! :) Ya really gotta tell us more about what you're trying to do, and what's happening instead...
Best,
Frank