Pascal Compiler for 8051 Microcontrollers
Objects are data structures that merge pascal records and procedures called methods, i.e. data and code together. In order to use objects in Turbo51 you need ...
Turbo51 Files
... a simple example of calculator using files:
Compiled code looks like this:
With the Assign statement you assign ReadFromSerialPort and WriteToSerialPort procedures to the File variable SerialPort. ...
Turbo51 System Unit
Pascal Compiler for 8051 Microcontrollers
System unit implements Turbo51 runtime library and defines some special function registers (SFR), bits and interrupt addresses that are present in all microcontrollers ...
Turbo51 Memory Organization
Pascal Compiler for 8051 microcontrollers
CODE memory
By default the maximum code size is $10000 bytes (64 KB). This can be changed in the main program with the $M directive.
IDATA memory
By ...
Compiler Switches And Directives
... variables can start below $80 (as indirectly addressed DATA variables)
InlineCode On
If set to Off compiler generates normal call to inline procedure
NoReturn
Inside assembler procedure ...
Turbo51 Command Line Syntax
... PROGRAM, RECORD, REPEAT, SET, SHL, SHR, STRING, THEN, TO, TYPE, UNIT, UNTIL, USES, VAR, WHILE, WITH, XOR
Directives
ABSOLUTE, ASSEMBLER, BITADDRESSABLE, CODE, DATA, EXTERNAL, FORWARD, IDATA, INLINE, ...
About Turbo51
... will have the same syntax and will generate high quality optimized code. The first step was to create a compiler compatible with Turbo Pascal 7. This compiler was then modified to generate code for 8051 ...
Pascal Programming Language
... The name Borland Pascal was generally reserved for the high end packages (with more libraries and standard library source code) while the original cheap and widely known version was sold as Turbo Pascal. ...
8051 Projects and Tools
Popular Microcontroller Resources
8051 Opcodes
Here you have a table of all 8051 instructions with opcodes, size in bytes, mnemonic and operands.
8051 Instruction Set
Here you have a detailed ...
License Agreement
Turbo51 is released as freeware
END-USER LICENSE AGREEMENT FOR FREEWARE
Except where otherwise noted, all of the documentation and software included in the Turbo51 package is copyrighted by Igor ...
Turbo51 Documentation
Free Pascal compiler for 8051
Here you can find documentation on Turbo51 syntax, compiler switches and directives, features, internals and other useful information. Take a look also at some code examples ...
Turbo51 FAQ
... fun.
Is source code of Turbo51 available?
No. I have no plans to release it. However, if you are interested in compiler design, I am selling a Turbo Pascal compiler written in Turbo Pascal source code. ...
Turbo51 IDE
Pascal Compiler for 8051 Microcontrollers
Turbo51 is only a command-line compiler. There is no IDE or editor. To write your code you can use any IDE or editor of your choice. In addition to the proposals ...
Development of Turbo51
...
Code size known at compile time
planned
6
Compiler directive $REGION
DONE in 0.1.3.5
5
Code banking support
planned
4
Generated assembler source compatible with some real ...
Compiler Design
... in order to properly design symbol tables, scanner, parser, internal data representation, intermediate code structure, optimization passes, and other compiler building blocks.
There are many excellent ...
Turbo51 Code Examples
Examine 8051 projects and learn the tricks
Here are some test projects suitable for any 8051 microcontroller to show how to use Turbo51. They can also be used to quickly see the generated code. The assembler ...
Turbo51 - Pascal compiler for 8051 microcontrollers
... Pascal 7 syntax
Full floating point support
Mixed Pascal and assembler code
Full use of register banks
Advanced multi-pass optimizer
Smart linker
Generates compact high quality code
Output ...
Turbo Pascal Download
... it was a revolutionary product. In one package you got integrated development environment where you coud edit, run and debug software, the compiler was fast and generated compact executable code. Borland ...