chazhi.inc

来自「简单的数据采集插值方法。」· INC 代码 · 共 22 行

INC
22
字号
.IFNDEF __CHAZHI_INC__
.DEFINE __CHAZHI_INC__

M_GetValue:	.MACRO  Index				//Index=0,1,2,3,4,5,6;	The index of parameters for function LIns,
															//from left to right. 
		r1=Index;
		r1=r1 lsl 1;						
		r1+=bp;							//Get the address of parameter
		r3=[r1++];						//Get the value of parameter
		r4=[r1];
.ENDM
M_StoreValue:	.MACRO  Index			//Index=0,1,2,3,4,5,6; The index of parameters for function LIns,
															//from left to right. 
		r3=Index; 
		r3=r3 lsl 1;						
		r3+=bp;							//Get the address of parameter
		[r3++]=r1;						//Store the value to parameter
		[r3]=r2;
.ENDM


.ENDIF

⌨️ 快捷键说明

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