MicroController Pros Home Page My Account  Cart Contents  Checkout  

****Note: We no longer process and ship international orders. Only orders from USA and Canada are now accepted.****
You can place international orders for our products on E-Bay. Just copy the item's title description from our website and paste it into the search box on E-Bay and place your order there.

  Store » RC51 My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
Raisonance 8051 C Compiler

The RC-51 8051 C compiler is fully integrated into RIDE and supports the ANSI standard for the 'C' language, expanded with keywords that are specific to the 8051 to allow easy access to hardware and specific functions.
alien asm at bdata bit code data generic
idata interrupt intrinsic pdata sbit sfr using xdata

Memory models
The RC51 compiler supports 5 different memory models. Memory models allow to optimize the generated code to the 8051 derivative you are using as well as to the size of you application.

Model Default memory type xdata memory stack
location
Notes
TINY data *** idata suitable for the Philips 8x75x processors
= SMALL + ROM(SMALL)
SMALL data no idata/pdata the allocation of variables in external data memory is still possible
COMPACT pdata yes idata/pdata same as LARGE with smaller code size
LARGE xdata yes idata/pdata suitable for big applications
HUGE pdata yes pdata suitable for the most complex applications.
return addresses and parameters are stored in xdata memory.
Base Types
Integer Types:
  • 8-bit : " signed char " and " unsigned char ",
  • 16-bit : " signed int " and " unsigned int ",
  • 32-bit : " signed long " and " unsigned long ",

Real Types:

  • 32-bits  : " float " (IEEE754 single precision),

BCD Float:

  • 32-bit words for FLOAT
  • 48-bit words for DOUBLE (by default)
  • 56-bit words for LONG DOUBLE

Pointer Types
Two types of pointers are always available, generic pointers and space qualified pointers.

Code Optimizations
RC-51 optimizes the code to be both compact and fast. Tests show that it produces one the most efficient codes available in the market. To get the absolutely smallest possible code it is recommended to use RC-51 together with CodeCompressor.

Parameter Passing
Three cases are distinguished according to the value of REGPARMS and whether the function was declared with the 'alien' qualifier:

  1. NOREGPARMS: No registers are used for function parameter passing. Instead the internal stack is used for reentrant functions otherwise parameters are stored in the local variable pseudo-static segment
  2. REGPARMS: Registers may be used to pass parameters, which significantly improves system performance. Up to 3 parameters may passed in CPU registers and parameters that can not be passed in registers are processed as for the NOREGPARMS case.
  3. In 'alien' functions the DATA pseudo-static segment is always used. Alien function complies with the PL/M-51 parameter passing convention.

Libraries
RC-51 is supplied with ANSI 'C' standard libraries as described in: math.h, stdio.h, string.h, ctype.h, and stdlib.h standard header files.

Available Raisonance 8051 Software Tool Packages

Raisonance 8051 Software Tools are offered in several different product packages. The table below lists the tools included with each of those packages. By following the description link, you can get more information on each tool. By clicking on the product code link you can go directly to the order page for each of the product packages.

Tool

Description Link PRODUCTS
Free
Evaluation
Version
download
LITE Package
RKitL51
Compiler Package
RCA51
Enterprise Suite
RKitE51
IDE RIDE
*
*
*
*
Macro assembler MA-51
<4kB
<32kb
*
*
Code banking linker LX-51
<4kB
<32kb
*
*
Utilities UTIL51
*
*
*
*
ANSI C compiler RC-51
<4kB
<32kb
*
*
Simulator/debugger SIMICE-51
<4kB
<32kb
<4kb
*
ROM monitor MON-51
<4kB
<32kb
<4kb
*
Tiny RTOS KR-51Tiny
3 tasks
3 tasks
3 tasks
full RTOS
CodeCompressor CComp-51
(1)
(1)
(1)
*
Multiproc. simulation MulSim51
*
RTOS KR-51
125 tasks
Scripts RIDEscript
*

* Unrestricted version of the tool is included with the product package
(1) You can compress and simulate, but you can't save the compressed code

Shopping Cart more
0 items
What's New? more
2-pin Female Connector Harnesses, Pack of 4, with 4 Wires
2-pin Female Connector Harnesses, Pack of 4, with 4 Wires
US$5.00
Bestsellers
01. 2x5 (10-pin) 0.05" pitch IDC Connector Flat Ribbon Cable, 20cm
02. 2x5 (10-pin) 0.05" pitch IDC Connector Flat Ribbon Cable, 12cm
03. 5-pin Press-Fit Header Strip, Breakaway Pins, 2.54mm Pitch
04. Parallel to USB Adapter: Connect USB printer to LPT port
05. 2x10 (20-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cm
06. 8-pin Press-Fit Header Strip, Breakaway Pins, 2.54mm Pitch
07. USB Universal In-Circuit Programmer PIC AVR ARM MSP 8051 EEPROM
08. 2x5 (10-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cm
09. ARM JTAG Debugger & Programmer, parallel port
10. Power Supply 3-12V DC, U.S. plug, 6 connection tips
Reviews more
Good board to evaluate the NXP LPC2129 although the micro on ..
4 of 5 Stars!
  Monday 18 March, 2024   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce