Discuss the assembler directive of OFFSET with example.
OFFSET: This is an operator to find out the offset (displacement) of a variable or process regarding the base of the segment that contains the procedure or named variable. The operator can be utilized to load a register along with the offset of a variable.
The operator can be used as given here:
MOV SI, OFFSET ARRAY