Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the best cross compiler for AT89S8252?

Status
Not open for further replies.

joe1986

Full Member level 4
Joined
Jan 25, 2008
Messages
204
Helped
24
Reputation
48
Reaction score
11
Trophy points
1,298
Activity points
2,922
i have written an assembly language code for the IC AT89S8252...........what is the best crosscompiler for this IC???...................which is the preferred one??.......................CURRENTLY i am using METALINK 8051 assembler.
 

Re: cross compiler

Hello Joe,
I'm not familiar with the Metalink compiler. I do know that the Keil compiler is a good optimizing compiler. But it is a commercial product.
I currently use the BSO/Tasking compiler, which works fine. I don't think that switching to Keil would save me more than 5 to 10% in code space.

If you are on a low budget, you may consider the SDCC compiler.
It is a PD project on sdcc.sourceforge.net.
It is free for download.
It generates fair code. The list of optimization is quite impressive:
* Sub-expression Elimination
* Dead-Code Elimination
* Copy-Propagation
* Loop Optimizations
* Loop Reversing
* Algebraic Simplifications
* 'switch' Statements
* Bit-shifting Operations.
* Bit-rotation
* Nibble and Byte Swapping
* Highest Order Bit / Any Order Bit
* Higher Order Byte / Higher Order Word
* Peephole Optimizer

If you want to improve on speed, forget about the 8051 architecture and go
for a better processor. But I quest it is too late for that......
I prefer the Renesas H8 since it is very efficient for C. The processor can do
8, 16 and even 32 bit arthmetic on register operands. That really helps.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top