home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
SIMTEL
/
HITECH-C
/
Z8051H83.EXE
/
README.51
< prev
next >
Wrap
Text File
|
1993-05-21
|
5KB
|
119 lines
HI-TECH Software
8051 C Cross Compiler
Demonstration Version
This diskette may be freely copied and distributed for demonstration
purposes only. The following copyright message should be preserved on
any copies made:
Copyright (C) 1984-1992 HI-TECH Software
Once the demo version of the 8051 compiler has been extracted, it may be
invoked using either DEMOC51 or HPD. See the instructions below.
The full version of the HI-TECH 8051 C Cross Compiler may be obtained from:
HI-TECH Software Tel: (07) 300 5011
P.O. Box 103 Fax: (07) 300 5246
Alderley QLD 4051
Australia
This is a demonstration version of our best selling HI-TECH 8051 C Cross
Compiler. It will compile small C programs to assembler code only.
To invoke the compiler, use the DEMOC51 command:
democ51 [options] file.c ...
after the command may be specified optional flags, followed by
one or more .C files. Each file will be compiled into a corresponding
.AS file containing assembler code, with embedded comments from the
original C source.
The options are:
-O Invoke post-pass optimizer
-Zg Invoke global optimization
-Bx Specify memory model:
-Bs Small model (no external RAM)
-Bm Medium model (external RAM, internal stack )
-Bl Large model (external RAM and stack)
-Wn Set warning level 'n'; default is 0, range is -9 to 9
Higher values give fewer warnings
Negative values get very picky
-Ipath Specify additional preprocessor search path
for include files
-Dsym Define sym as if by #define sym 1
-Dsym=val Define sym as if by #define sym val
This demonstration version also contains HPD.EXE, a demonstration
version of our integrated development environment which features full
screen operation with mouse and keyboard support and full on-line error
and C library help.
The version of HPD supplied with this demo disk can be used with code generator
modules for the Z80/Z180/64180, 8051, 8096/80C196, H8/300, 6801/6301/68HC11,
6809, 68000 and 8086/80186/80286. The options menu will display the list of
available target processors. To select 8051 code generation, use one of the
8051 items in the options menu. The three 8051 memory models are:
"small": static/extern variables and stack in internal memory.
"medium": static/extern variables in external RAM, stack in internal
memory.
"large": static/extern variables and stack in external memory. The
large model implements a 16 bit external stack pointer which
allows re-entrant/recursive code to be run easily on an 8051.
Each of the memory models allows control of which address space individual
variables are placed in. For example, a variable declared as "near" will
always be placed in internal memory and a variable declared "far" will always
be placed in external RAM. The memory model selected determines which address
space is used for the stack and for variables declared without a qualifier.
There is also a qualifier "code" which can be used to place a statically
initialized constant (e.g. a string) in the CODE address space. The "bit"
qualifier can be used to declare a variable to be a single bit in the 8051
bit addressable space and accessed using the boolean processor instructions.
The following keystrokes and mouse actions are used in HPD:
Alt-Space Open menu system / Escape from menu system
Escape Exit from menu system or resize menu
Ctrl-Alt-Space Window resize/move menu
Ctrl-Enter Move to next window
Alt-(keypad)+ Zoom/unzoom frontmost window
Arrow keys Move around within menu system
Enter Select highlighted menu item
Mouse Actions:
Left button In menu bar: open menu system
In window frame: grab and move window
In window contents: move window to front, if window
is frontmost it may cause one of a number of
window specific actions.
Alt+Left button Move window to back
Right button In window frame: resize window
Alt+Right button In window: zoom/unzoom window
HPD is based on the HI-TECH Windows package, a sophisticated set of
libraries which may be purchased as an addition to our 8086 family C
compilers.
The C source file "FEAT8051.C" contains code which demonstrates many of
the special features of the 8051 version of HI-TECH C. To examine this
file with HPD, type the command: HPD FEAT8051.C
The full version of the compiler has many more options and features
than these, including a version of Lucifer, our remote C source level
debugger. We can also offer a number of "features" which none of
our competitors can match, like comprehensive local technical support
which is just a phone call away and a bulletin board system dedicated
to our users. Try HI-TECH C and find out for yourself why our compilers
are Australia's favourite embedded systems development solution.