Оба находятся D:\tasm, D:\masm32 Имеется простенькая программа, выводящая Hello World!!! Через tasm все компилируется отлично D:\tasm\bin\tasm /zi DosExe.asm D:\tasm\bin\tlink /v DosExe.obj Через masm D:\masm32\bin\ml /Zi DosExe.asm D:\masm32\bin\link DosExe.obj Создет объект, а линковать не хочет, пишет: link:error: Segment reference in fixup record DosExe.obj : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt Код самой программы: Код (Text): .MODEL small .stack 100h .data msg db "This is a 16-bit DOS .EXE executable",13,10,"Hello, World!",13,10,"$"; The string must end with a $ .code start: mov ax,@data ; Get the address of the data segment mov ds,ax ; Set the DS segment mov dx,offset msg ; Get the address of our message in the DX mov ah,9 ; Function 09h in AH means "WRITE STRING TO STANDARD OUTPUT" int 21h ; Call the DOS interrupt (DOS function call) mov ax,0C07h ; Function 0Ch = "FLUSH BUFFER AND READ STANDARD INPUT" int 21h ; Waits for a key to be pressed. mov ax, 4C00h ; the exit fuction [4C+no error (00)] int 21h ; call DOS interrupt 21h end start