Answer the question
In order to leave comments, you need to log in
Assembler, translation fasm -> tasm
Wrote such a voluminous program on fasm. Wrote. Compiled to COM under DOS, fine. I transfer to tasm (initially it was necessary to write under it), I adapt the syntax (macros, com structure, ptr). But here's the problem. When P286 is specified, I get Relative jump out of range by XXXXh bytes (I remind you that I compiled fasm in com, it works fine) and Illegal instruction for currently selected processor (swears at bt, as it turned out, it was entered only 386m). I change it to P386, it is broadcast without problems, but the linker swears: Fatal: 32-bit record encountered in module xxx.asm. Chiadnt? The code is working, fasm copes with it. And this one is trying to get a 32-bit application, judging by the listing:
Groups & Segments Bit Size Align Combine Class
CODE 32 8FCB Para none CODE
Just in case, the batch file for compilation is as follows:
BIN\tasm.exe DISASM.ASM /l
BIN\tlink.exe DISASM.OBJ /t
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question