Compiler Design
Donate
Links
Videos
Books
About
Contact
Home
Code Examples
Download
Development
IDE
FAQ
Documentation
Assembly Language
Boolean
Byte
Code
Data
DPTR
File
Function
High
IDATA
LCALL
8051
Memory
MOVX
Type
Procedure
Record
Var
Register
Segment
Value
XDATA
Debugging
Optimizations
Module
Pascal
IP Core
Embedded
Username
Password
Remember Me
Forgot your password?
Forgot your username?
Create an account
Search
Turbo51 - Free Pascal compiler for 8051
Search Keyword:
Search
All words
Any words
Exact Phrase
Ordering:
Newest First
Oldest First
Most Popular
Alphabetical
Section/Category
Search Only:
Articles
Search Keyword
procedure
Total: 26 results found.
Display #
5
10
15
20
25
30
50
100
All
Page 1 of 2
1.
Turbo Pascal Compiler Written in Delphi
(Compiler Design/Compilers)
... All types, constants, variables,
procedure
s 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
procedure
s 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)
Procedure
s (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
procedure
s 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
procedure
s 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
procedure
s 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
procedure
s 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
procedure
s. 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
procedure
s. 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: T
Procedure
): ...
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 TDeviceWrite
Procedure
=
Procedure
; TDeviceReadFunction ...
16.
8051 Interrupts in Turbo51
(Documentation/Procedures)
Interrupts are
procedure
s 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
procedure
s. Example: Asm ...
18.
Variables
(Documentation/Declarations)
...
procedure
s. 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
>>
Download Turbo51
|
Code Examples
|
Documentation
|
8051 Videos
|
8051 Projects
|
Compiler Design
|
Turbo Pascal Download