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 >
Text File  |  1993-05-21  |  5KB  |  119 lines

  1.                   HI-TECH Software
  2.  
  3.                    8051 C Cross Compiler
  4.  
  5.                Demonstration Version
  6.  
  7. This diskette may be freely copied and distributed for demonstration
  8. purposes only.  The following copyright message should be preserved on
  9. any copies made:
  10.  
  11. Copyright (C) 1984-1992 HI-TECH Software
  12.  
  13. Once the demo version of the 8051 compiler has been extracted, it may be
  14. invoked using either DEMOC51 or HPD.  See the instructions below.
  15.  
  16. The full version of the HI-TECH 8051 C Cross Compiler may be obtained from:
  17.  
  18. HI-TECH Software            Tel: (07) 300 5011
  19. P.O. Box 103                Fax: (07) 300 5246
  20. Alderley  QLD  4051
  21. Australia
  22.  
  23. This is a demonstration version of our best selling HI-TECH 8051 C Cross
  24. Compiler.  It will compile small C programs to assembler code only.
  25.  
  26. To invoke the compiler, use the DEMOC51 command:
  27.  
  28.     democ51 [options] file.c ...
  29.  
  30. after the command may be specified optional flags, followed by
  31. one or more .C files. Each file will be compiled into a corresponding
  32. .AS file containing assembler code, with embedded comments from the
  33. original C source.
  34.  
  35. The options are:
  36.  
  37.     -O    Invoke post-pass optimizer
  38.     -Zg    Invoke global optimization
  39.     -Bx    Specify memory model:
  40.         -Bs    Small model (no external RAM)
  41.         -Bm    Medium model (external RAM, internal stack )
  42.         -Bl    Large model (external RAM and stack)
  43.     -Wn    Set warning level 'n'; default is 0, range is -9 to 9
  44.         Higher values give fewer warnings
  45.         Negative values get very picky
  46.     -Ipath    Specify additional preprocessor search path
  47.         for include files
  48.     -Dsym    Define sym as if by #define sym 1
  49.     -Dsym=val    Define sym as if by #define sym val
  50.  
  51. This demonstration version also contains HPD.EXE, a demonstration
  52. version of our integrated development environment which features full
  53. screen operation with mouse and keyboard support and full on-line error
  54. and C library help.
  55.  
  56. The version of HPD supplied with this demo disk can be used with code generator
  57. modules for the Z80/Z180/64180, 8051, 8096/80C196, H8/300, 6801/6301/68HC11,
  58. 6809, 68000 and 8086/80186/80286.  The options menu will display the list of
  59. available target processors. To select 8051 code generation, use one of the
  60. 8051 items in the options menu.  The three 8051 memory models are:
  61.  
  62. "small":    static/extern variables and stack in internal memory.
  63. "medium":    static/extern variables in external RAM, stack in internal
  64.         memory.
  65. "large":    static/extern variables and stack in external memory.  The
  66.         large model implements a 16 bit external stack pointer which
  67.         allows re-entrant/recursive code to be run easily on an 8051.
  68.  
  69. Each of the memory models allows control of which address space individual
  70. variables are placed in.  For example, a variable declared as "near" will
  71. always be placed in internal memory and a variable declared "far" will always
  72. be placed in external RAM.  The memory model selected determines which address
  73. space is used for the stack and for variables declared without a qualifier.
  74.  
  75. There is also a qualifier "code" which can be used to place a statically
  76. initialized constant (e.g. a string) in the CODE address space.  The "bit"
  77. qualifier can be used to declare a variable to be a single bit in the 8051
  78. bit addressable space and accessed using the boolean processor instructions.
  79.  
  80. The following keystrokes and mouse actions are used in HPD:
  81.  
  82. Alt-Space        Open menu system / Escape from menu system
  83. Escape            Exit from menu system or resize menu
  84. Ctrl-Alt-Space        Window resize/move menu
  85. Ctrl-Enter        Move to next window
  86. Alt-(keypad)+        Zoom/unzoom frontmost window
  87. Arrow keys        Move around within menu system
  88. Enter            Select highlighted menu item
  89.  
  90. Mouse Actions:
  91.  
  92. Left button        In menu bar: open menu system
  93.             In window frame: grab and move window
  94.             In window contents: move window to front, if window
  95.                 is frontmost it may cause one of a number of
  96.                 window specific actions.
  97.  
  98. Alt+Left button        Move window to back
  99.  
  100. Right button        In window frame: resize window
  101. Alt+Right button    In window: zoom/unzoom window
  102.  
  103. HPD is based on the HI-TECH Windows package, a sophisticated set of
  104. libraries which may be purchased as an addition to our 8086 family C
  105. compilers.
  106.  
  107. The C source file "FEAT8051.C" contains code which demonstrates many of
  108. the special features of the 8051 version of HI-TECH C.  To examine this
  109. file with HPD, type the command: HPD FEAT8051.C
  110.  
  111. The full version of the compiler has many more options and features
  112. than these, including a version of Lucifer, our remote C source level
  113. debugger.  We can also offer a number of "features" which none of
  114. our competitors can match, like comprehensive local technical support
  115. which is just a phone call away and a bulletin board system dedicated
  116. to our users.  Try HI-TECH C and find out for yourself why our compilers
  117. are Australia's favourite embedded systems development solution.
  118.  
  119.