Discussion Locked

Borland's Turbo Assembler

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In Borland's Turbo Assembler 5, I entered the following test program:

.386
.model small
.data

.stack 256

.code
,startup

MAIN PROC
mov ax,10
if ax===10
endif

mov ah,8
int 21h

mov ax,4c00h
int21h

MAIN ENDP

END

I tried tasm32 with various combinations of tlink, tlink32, td, and td32. I was not able assemble, link, and debug succesfully. I received error messages such as " Bad loc for fixupp in module.obj near file offset 2d7"

Any ideas will be appreciated.

2 replies

by wls

Make sure you're not mixing preprocessor conditionals with programatic ones. If you're attempting to test values, use the CMP instruction, then follow it up with a conditional branch instruction (like JE).

This discussion is closed to new replies.