user250327
user250327

Reputation: 33

Turbo Pascal 5.5 "Error 3: Unknown Identifier" with ASM keyword

I downloaded TP 5.5 and installed it in my Virtual Machine which is running FreeDOS.

I tried this short code:

Program test;

begin
asm
   mov ax, ax
end;
end.

Turbo Pascal says: "Error 3: Unknown Identifier."

I can use the keyword inline works BUT I can't use mnemonics with it and my goal is just to learn some assembly while being in Real Mode so I can't go to Delphi and use mnemonics there.

Upvotes: 2

Views: 2912

Answers (1)

Marco van de Voort
Marco van de Voort

Reputation: 26356

Integrated "basm" assembler was a TP 6.0 feature indeed. 5.5 is the newest that is free though.

Better use Free Pascal.

Upvotes: 2

Related Questions