EXTERNAL PRODUCT SPECIFICATION
V5.0
APPROVED Sept. 05, 1982
Download Original document
TABLE OF CONTENTS
PREFACE
OVERVIEW OF 8051 ARCHITECTURE
Code Space
External Data Space
Internal ...
8051 C Compiler
Some Prefer C Programming Language
If you don't like Pascal programming language then you are probably looking for C. And there is a great free C compiler for 8051, SDCC - Small Device C Compiler.
What ...
8051 IP Cores
Free 8051 IP Cores
Oregano 8051 IP Core
The 8051 IP Core was developed in cooperation with the Arbeitsgruppe CAD / TU-Wien. This processor core is binary compatible to the well known 8051 processor ...
8051 Instruction Set
Description of All Instructions
The following table lists the 8051 instructions sorted by opcode and the next table lists the 8051 instructions in the alphabetical order. The tables are followed with ...
8051 Opcodes
List of All Instruction Types
The following table lists the 8051 instructions sorted by the opcode. The instructions can be divided into 5 categories: arithmetic instructions. logic instructions, data ...
8051 Microcontroller
8-bit Core Still in Use
The Intel 8051 (official designation for 8051 family is MCS-51) is a Harvard architecture, single chip microcontroller (µC) which was developed by Intel in 1980 for use ...
Turbo51 Methods
Pascal Compiler for 8051 Microcontrollers
Methods are always reentrant. Before a call to the method is made the following is pushed on the XDATA stack:
Address for String result (for functions ...
Reentrant Procedures in Turbo51
Pascal Compiler for 8051 Microcontrollers
For reentrant procedures all parameters are pushed on XDATA stack. Functions return simple result in first register set (R5R4R3R2). For functions which return ...
Turbo51 Compiler Internals
Pascal Compiler for 8051 Microcontrollers
If you are interested in Turbo Pascal compiler internals and would like to see the source code of some popular commercial Pascal compiler then check Turbo Pascal ...
8051 Assembler Statements
Pascal Compiler for 8051 Microcontrollers
Turbo51 assembler statement is very similar to 8051 assembler. You can use all instructions from the 8051 instruction set. Labels starting with @ don't have ...
8051 Interrupts in Turbo51
Pascal Compiler for 8051 Microcontrollers
Interrupts are procedures declared with the Interrupt directive and interrupt address. In this example Timer0 is a constant defined in the System unit. For ...
Procedure at Absolute Address
Pascal Compiler for 8051 Microcontrollers
You can force placing a procedure at absolute address with the absolute directive. This way you can also reserve some bytes at fixed addresses in code segment. ...
Turo51 Inline Procedures
Pascal Compiler for 8051 Microcontrollers
Procedures (and functions) that are declared with the Inline directive are copied to the places where they are called. This has the effect that there is no ...
Turbo51 Assembler Procedures
Pascal Compiler for 8051 Microcontrollers
Here you can see some examples of procedures written entirely in 8051 assembly language. At the end of each procedure Turbo51 adds only RET instruction (or ...
Turbo51 System Functions
Pascal Compiler for 8051 Microcontrollers
Abs
Function Abs (X: Integer): Integer;
Function Abs (X: Real): Real;
Abs returns the absolute value of a variable. The result of the function ...
Turbo51 System Procedures
Pascal Compiler for 8051 Microcontrollers
Assign
Procedure Assign (Var F: File; ReadFunction: Function; WriteProc: Procedure);
Procedure Assign assigns read function and write procedure to ...
Turbo51 Variables
Pascal Compiler for 8051 Microcontrollers
Turbo51 variables can have memory type directives DATA, IDATA, or XDATA which overrides default memory type for variables (IDATA memory with addresses starting ...
Turbo51 Types
Pascal Compiler for 8051 Microcontrollers
Turbo51 provides the following system types: Byte (unsigned 8-bit), Word (unsigned 16-bit), ShortInt (signed 8-bit), Integer (signed 16-bit), LongInt (signed ...
Turbo51 Constants
Pascal Compiler for 8051 Microcontrollers
Turbo51 constants can be of any ordinal type. Typed constants are stored in CODE memory (in little endian format) and can not be modified. Boolean typed constants ...
Turbo51 Objects
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 ...