Assembly code with Borland's C compiler

That would be Pascal. Borland did do some Pascal stuff in the beginning (this is from memory but it was decades ago) hence their Delphi was based on Pascal.

I believe the Borland x86 C and C++ compilers are available on free download.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris H
Loading thread data ...

Thanks Chris. I'll follow your suggestion.

Hul

Chris H wrote:

Reply to
dbr

Jim - I'll look at those, thanks.

Hul

Jim Stewart wrote:

doesn't

Reply to
dbr

comp.arch.embedded Assembly code with Borland's C compiler

More working with Borland's compiler: trying to link 2 .obj files generated by Borland's compiler without any errors indicated, untill the .exe is executed. Then windows pops a window saying, roughly, this application has generated an error and we are closing the application - an error log is being created. Anyone know where Microsoft hides their error logs?

Hul

Reply to
Hul Tytus

It depends. On some architectures, fetching a few values from parameter registers is a lot easier than constructing a global variable address in an address register and dereferencing that.

The best way is, of course, to use GNU-style asm operand constraints.

Stefan

Reply to
Stefan Reuther

ed

CPU type is fairly obvious. Not what I meant. Is the OP targeting some kind of DOS like target, bare-metal (Phar Lap like target) or some kind of Win32 based target?

To me it sounds like he may be trying to target something Win32 based and needs to contact the specific vendor. Most people don't mix Microsoft and Borland for DOS or bare metal targets.

Reply to
Marco

generated

s

eing

Is this an embedded target?

What OS ?

This is an embedded news group.

Reply to
Marco

There are literally hundreds of thousands of embedded DOS computers out there. I know, I built a few tens of thousands of them...

Reply to
Jim Stewart

Apart from that the 386 was quite widely used in embedded work. There was a specific embedded version AFAIr. Whilst not as common as some MCU the x86 family was used in embedded work with and without a DOS & BIOS

Where x86 was used for embedded work the Borland compiler tended to be the compiler of choice. I have a rom kit for the Borland compilers if anyone is interested.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris H

The 80186(&8)EA/B/C series were used in embedded applications with the Borland compiler, requiring a very small BSP to furnish BIOS compatibility. Nigel Roles (of York University) did much of the groundwork.

Reply to
invalid

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.