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

📄 strings.inc

📁 PKE(被动无钥门禁系统
💻 INC
字号:
;---------------------------------------------------------------------------------------------------------
; Strings.inc                     
;
;	Jan Ornter
;
;	DATE:	11-9-2005
;	VER.:	1.0


	extern String.ReadFromPGM, String.Hex2ASCII, String.HexArray2String, String.GetLength, String.Char2String, String.Append, String.Copy

;------------------------------------------------------------------------------+
;                                                                              |
;    Module Strings                                                            |
;                                                                              |
;------------------------------------------------------------------------------+
;                                                                              |
;    This module provides useful functions to operate with strings.            |
;    But when using these functions, you should always remember, that          |
;    they are capable of overwriting the complete RAM on your device,          |
;    if not used the correct way. This will most likely happen, if a           |
;    string read by one of these functions is not terminated with the          |
;    end of string character ('\0').                                           |
;                                                                              |
;                                                                              |
;------------------------------------------------------------------------------+
String.ReadPGM2RAM	macro	Prog, RAM
	movlw	upper Prog
	movwf	TBLPTRU
	movlw	high Prog
	movwf	TBLPTRH
	movlw	low Prog
	movwf	TBLPTRL
	lfsr	FSR2,RAM
	movlw	high RAM
	call	String.ReadFromPGM
	endm

⌨️ 快捷键说明

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