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

📄 read.me

📁 PIC16CXX C语言工具
💻 ME
字号:
Version 5.32                                                       09/05/93
------------

- Added RES as an alias for DS.
- Allows negative numbers in byte values as long as they are >-129.
- Fixed auto-tracking of BSF/BCF RP0 for auto bank tracking on 16c64-84.
- Fixed v5.28 bug: Internal bits in OPTION (eg. INTEDG) were assigned to the
  wrong register.
- Added internally defined bits in ADCON0 (16c71) and EECON1 (16c84).
- Added .CPU 16c64.
- Enhanced PICTAB (CPU specific syntax table lister) and PICTEST (automatic
  test/example file generator).
- Included AB.EXE in distribution set.
- Enhanced SEGMACS.ASI (added segment name on errors) and PICMACRO.ASM
  (standard macro file)

Version 5.30
------------

This version is about 20% faster than 5.28 and has some minor enhancements
bit-label class handling in expressions.  This fixes a minor bug when using the
construct:

BITLAB1 =  0,PORTB                       ;This will be an input bit
BITLAB2 =  1,PORTB                       ;This will be an output bit
BITLAB3 =  0,PORTB                       ;This will be an input bit

        movlw        ^BITLAB1|^BITLAB3   ;Bits to be input
        tris         >BITLAB1            ;Set TRIS for the port BATLAB1 is in
        ...

In addition, version 5.32 has improved memory management. It will no longer
run out of memory on compiles of large programs with cross-reference, listing,
and symbol report all on, except when running on extremely limited memory.

ASPIC Manual
------------

The following syntax to the .CSET directive was omitted from the manual. It
turns out to be one of the most usefull applications on a PIC:

	.CSET	<start code>,<translation set>
	.CSET   <output code>,<char>

by using translation set backwards, as in the second line, translation can
be done by the assembler in place.  For example, start with:

LEDSET	.CSET	a|b|c|d|e|f, "0"	;define a character set of
	.CSET   b|c,         "1"        ;led segments for ASCII digits
	.CSET   a|b|d|e|g,   "2"
	   ... rest of set ...
	.CSET = LEDSET        		;select the active set

then when you use TEXT directives such as:

NUMTAB:	.TEXT	"0123456789"		;table of led patterns

the assembler will automatically generate tables of RETLW instructions (except
on the 17c42 where it generates packed data tables) translated to the segment
patters for the ASCII characters.


Auto register bank tracking on the 16c64-84
-------------------------------------------

When you use registers >127 on the 64-84 core processors, ASPIC will generate
SEB RP0  or CLB RP0 instructions as necessary. If you modify STATUS directly
(ie. when restoring status in an interrupt routine, you must use the BANK
directive to inform the assembler of the appropriate assumption.

To disable auto BANK switching, use BANK -1.

For the 17c42, ASPIC performs similar tests, however the banking determination
is performed based on address only.

When defining banked register addresses for 16c6x+ PICs, use the following
addresses:

        If the register is              Define it as   BANK() will return
	------------------              ------------   ------------------
	Visible from all banks           $00 - $7F          unchanged
	Visible with RP0=1               $80 - $FF             1
	Visible ONLY with RP0=0         $200 - $27F            2
	(reserved for future expansion) $100 - $1FF            4





⌨️ 快捷键说明

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