⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hpdpic.hlp

📁 一个PIC的demo程序包
💻 HLP
字号:
INDEX 6 106 HPDPIC12 7 Chip types820 30 Compiler optimizations3385 106 Editor Searching397 7 Floating point sizes7415 27 String search2400 21 User defined commands%Chip typesUse this dialog to select the target PIC processor youwill be using. Setting the chip type will determine theROM and RAM available to the compiler, as well as defininga pre-processor variable to allow testing the chip type, e.g.select 16C84 will set the preprocessor macro _16C84 - thisis also used in <pic.h> to choose the appropriate registerdefinitions.%Floating point sizesThe compiler will generate code by default for floating pointoperations using 24 bits (8 bit exponent, 16 bit mantissa). Thiswill apply to both 'float' and 'double' values. Selecting the"32 bit double" option will mean any 'double' values will beevaluated in 32 bits (8 bit exponent, 24 bit mantissa). Thiswill also affect library routines like sin() that operate onand return double results.%Compiler optimizationsAn "optimization" is a transformation performed by the compiler ona program to make it smaller and/or faster.The compiler performs many optimizations, some automatically, someonly when requested.  The Optimization dialog box allows selectionof optimizations to be performed when compiling:Global:         Global optimization is performed one function at                a time and aims to optimize the use of registers                within whole functions.  When used, this allocates                variables to registers based on analysis of which                variables will benefit most. This optimization can                be quite time consuming on large functions.  It is                possible for the code generator to run out of                memory when performing global optimization. The                function size should be reduced if this occurs.Peephole:       Peephole optimization is a process of examining                generated assembler code and "improving" it. This                includes redundant load/store optimization, branch                optimization, and substitution of faster or shorter                instructions.  Whole functions are optimized at a                time, and it is possible for the optimizer to run                out of memory on large functions.Assembler:      The assembler attempts to turn long branches or                jumps into short branches when this is used. This                does not use extra memory, but can increase the                compile time.%User defined commandsThe "User command setup" dialog allows four user defined externalcommands to be added to the Utility menu.  Each user defined commandentry consists of two strings; the menu entry which will be displayedin the Utility menu, and the command line which will be executed byDOS when the menu item is selected.  Typically the user commands willbe used to interface to external debuggers and editors.A number of macros may be used within user defined commands to allowsubstitution of useful filenames.  The available macros are:        $(EDIT)       Current HPD edit file        $(OUTFILE)    Current output file name        $(CWD)        Current working directory        $(LIB)        Compiler LIB directory path        $(INC)        Compiler INCLUDE directory path        $(PROJ)       Name of current project fileFor example, a user defined command which passes the current HPDedit file to an external editor called EDIT would be:        EDIT $(EDIT)%Editor SearchingThe editor allows search and search/replace forwards or backwards, usingeither simple strings, or "regular expressions".  The search/replace dialogcan be accessed via several paths:1.      by using the WordStar style commands Ctrl-Q A and Ctrl-Q F.2.      by clicking the "Search" button in the editor window.3.      by pressing F2 in the editor window.4.      by the "Search ..." or "Replace ..." items in the "Edit" menu.The search/replace dialog allows both search and replace operations to beselected, starting from any of the search/replace commands.  The settingsin the dialog will default to appropriate values based on the previousoperation and the method used to activate the dialog.  Selection betweensearch and replace operations is performed using the "Replace - F3" checkbox.  If performing a replace operation, the check box "Global - F5" allowsan interactive global search/replace to be performed.  The "Replace all - F6"check box allows all instances of the search string to be replaced withoutasking.  You can select between case sensitive and case insensitive searchingusing the "Case sensitive - F4" check box.In addition to the search/replace commands which display the dialog, theeditor also allows the previous search/replace operation to be repeatedin either a forward or backward direction.  This can be achieved using thefollowing key or mouse strokes:Search for NEXT:          Ctrl-L or Shift-F2 or click the NEXT button.Search for PREVIOUS:      Ctrl-L or Ctrl-F2 or click the PREV button.REGULAR EXPRESSION MATCHINGRegular expressions are a generalization of "wild card" matching.  Aregular expression can include literal text (e.g. "abcdef") or variousspecial characters that are interepreted specially when comparing thesearch string with the text in the editor.  In brief, the specialcharacters are:^       Match start of line$       Match end of line?       Match any character*       Repeat previous expression\( \)   Group a sequence[ ]     Specify a range or set of characters to match\       Escape a special characterIn more detail:^       Use at the beginning of a search string to anchor the search        to the beginning of the line, e.g.           ^#define        will match #define only if it is at the beginning of a line.$       Matches the end of a line, e.g.           0);$        will match "0);" only at the end of a line.?       matches any character, e.g.           ??xyz?        would match any of:          "12xyzb", "..xyz1" or "AAxyzA"*       means any number of repetitions of the previous regular        expression.  The previous regular expression is either a        single character, or a parenthesized expression or range        as below. For example:           ab*        will match the letter 'a' followed by zero or more letters 'b'.\(  \)  These two character pairs enclose a regular expression that        can be the subject of the * repetition character, e.g           ab\(ab\)*        will match one or more sequences of "ab", e.g. "ababab". Note        that the first "ab" must be matched with "ab", and the sequence        inside the parentheses can match zero or more sequences of "ab".[   ]   These brackets are used to enclose a character range or set.        Within the brackets can be any number of single characters,        or pairs of characters separated by a dash. For example:          [ABCDEF0-9]        will match any upper case alphabetic from A to F, or any digit.        If it is desired to include a dash in the set, make it the first        or last character. Similarly, the right bracket (]) must be first        if it is to be part of the set. For example:          []a-f-]        will match any lower case alphabetic, ] or -.\       Escape any special character. Precede any of ?, *, $, ^ or [        to force them to be treated literally. For example:          \*\**        will match one or more asterisks in sequence.%String searchThe string search dialog is used to access a "grep" like utility whichwill perform a search of one or more files for a specified target string.The search string may consist of any sequence of characters, includingspaces.  The default behaviour is to perform a case insensitive searchwhere lower case and upper case characters are treated as equivalent.If the "Case sensitive - F4" check box is selected, a case sensitivesearch may be performed.The list of files to search may be specified either by typing a listof wildcards in the "File list:" edit line, or by selecting the checkbox: "Current project - F6".  The file list entered may consist of oneor more file names or wildcards.  If the same file is selected by morethan one wildcard, the file will only be searched once.  If "Currentproject" is selected, all source files in the current HPD project will besearched for the target string.  If you wish to search a user specifiedfile list, select the "File list - F5" check box.The results of the search will be displayed in the "String search:" window.You may move between entries in this window using the mouse, window scrollbar, or the arrow/cursor keys on the keypad.  To select a search result,double click the mouse in its entry, or press enter when the desired lineis highlighted.  When a selection is made, the selected file will be loadedinto the HPD editor with the cursor and search highlight positioned onthe selected text.The "Search F2" button in the "String search:" window may be used to searchagain without using the menu.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -