how are we going to define data in the FS and GS register using TASM?
For example:

in data segment:
.data
; data here

then:
mov ax, @data
mov ds, ax
mov es, ax

how do we do something like that for the FS and GS?

You're using a 16-bit assembler, and those registers are only accessible from 32-bit programs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.