I'm currently learning ASM and trying one of the code examples. I have no problem assembling, but when I get to linking, using TLINK32 on a computer running Windows XP with an Intel Pentium 3 processor, I get the following output:
What would be the problem and possible solution(s)? Thank you in advance for your help.
The code in test.asm is:Turbo Link Version 1.6.65.0 Copyright (c) 1993,1996 Borland International
Beta version built at 13:11:48 on Jan 4 1996
Fatal: 16 bit segments not supported in module TEST.ASM
Code:
MODEL small
.STACK 64
.DATA
DATA1 DB 52H
DATA2 DB 59H
SUM DB ?
.CODE
MAIN PROC FAR
MOV AX, @DATA
MOV DS, AX
MOV AL, DATA1
MOV BL, DATA2
ADD AL, BL
MOV SUM, AL
MOV AH, 4CH
INT 21H
MAIN ENDP
END MAIN