Search

Turbo51 - Free Pascal compiler for 8051

Search Only:

Search Keyword procedure

Total: 26 results found.

Page 1 of 2


1. Turbo Pascal Compiler Written in Delphi
(Compiler Design/Compilers)
... All types, constants, variables, procedures and functions in the source code have meaningful names. Therefore, from the source code itself it is easy to understand what the code does. And since Pascal ...
2. OMF-51 Object Module Format
(Documentation/8051)
... usually consists of all the procedure and constants of a program. It is assumed that all the code space (off-chip as well) consists of ROM. Consequently only read operations are available on data in ...
3. 8051 Assembler Procedures
(Documentation/Procedures)
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 RETI in interrupt procedure). ...
4. Procedure at absolute address
(Documentation/Procedures)
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. ...
5. Inline procedures
(Documentation/Procedures)
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 actual ...
6. Compiler Switches And Directives
(Documentation/General)
...  Full boolean evaluation C+ Show source lines in assembler file DefaultFile Off Assume CurrentIO system file variable is assigned with the actual IO procedures I+ IDATA variables ...
7. Turbo51 Command Line Syntax
(Documentation/General)
... file I+ IDATA variables can start below $80 (as indirectly addressed DATA variables) O+ Optimizations P- Open string parameters R- Reentrant procedures T- Typed ...
8. Methods
(Documentation/Assembler)
... space for local variables (increases XSP accordingly)   On exit called method pops saved XBP and removes all pushed parameters from XDATA stack. XDATA stack during reentrant procedure call looks ...
9. Reentrant procedures
(Documentation/Assembler)
For reentrant procedures all parameters are pushed on XDATA stack. Functions return simple result in first register set (R5R4R3R2). For functions which return String ...
10. Turbo51 Objects
(Documentation/General)
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 XDATA memory. The syntax ...
11. Compiler Internals - General
(Documentation/Assembler)
... and can not be passed as parameter in re-entrant procedures. In such cases you can use system type ByteBool which occupies 1 byte. Global variables Global variables are placed in default memory type ...
12. Turbo51 Files
(Documentation/General)
Turbo51 supports files - a general framework for IO handling. However, you have to provide the low level IO procedures. Files can be untyped, typed (File of SomeType) and of type ...
13. System Functions
(Documentation/Procedures)
... has the same type as its argument, which can be Integer or Real. Addr Function Addr (X: T_DATA_Variable): ShortPtr; Function Addr (X: T_XDATA_Variable): Pointer; Function Addr (X: TProcedure): ...
14. System procedures
(Documentation/Procedures)
Assign Procedure Assign (Var F: File; ReadFunction: Function; WriteProc: Procedure); Procedure Assign assigns read function and write procedure ...
15. System Unit
(Documentation/General)
...  = $1B; DEL = $7F; External0 = $0003; Timer0 = $000B; External1 = $0013; Timer1 = $001B; Serial = $0023; Type TDeviceWriteProcedure = Procedure; TDeviceReadFunction ...
16. 8051 Interrupts in Turbo51
(Documentation/Procedures)
Interrupts are procedures declared with the Interrupt directive and interrupt address. In this example Timer0 is a constant defined in the System unit. For any procedure we can optionally ...
17. 8051 Assembler statement
(Documentation/Assembler)
... R0 and not register R0). Procedure's parameters can be accessed as local variables with Procedure.Parameter. See also assembler procedures. Example: Asm ...
18. Variables
(Documentation/Declarations)
... procedures. In such cases you can use system type ByteBool which occupies 1 byte. BitAddressable directive declares variable which will be placed in DATA address space from $20 to $2F - you can access ...
19. Types
(Documentation/Declarations)
Turbo51 provides the following system types: Byte (unsigned 8-bit), Word (unsigned 16-bit), ShortInt (signed 8-bit), Integer (signed 16-bit), LongInt (signed 32-bit), Real (uses ...
20. Constants
(Documentation/Declarations)
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 ...
<< Start < Prev 1 2 Next > End >>