option.asm

来自「该程序介绍了在MCU编程时如何分配变量和程序的地址。」· 汇编 代码 · 共 49 行

ASM
49
字号
;******************************************************************************
;**
;**  This device driver was created by Applilet for the 78K0/KB2, 78K0/KC2,
;**  78K0/KD2, 78K0/KE2 and 78K0/KF2 8-Bit Single-Chip Microcontrollers.
;**
;**  Copyright(C) NEC Electronics Corporation 2002 - 2005
;**  All rights reserved by NEC Electronics Corporation.
;**
;**  This program should be used on your own responsibility.
;**  NEC Electronics Corporation assumes no responsibility for any losses
;**  incurred by customers or third parties arising from the use of this file.
;**
;**  Filename : option.asm
;**  Abstract : This file implements OPTION-BYTES/SECURITY-ID setting.
;**  APIlib:  NEC78K0KX2.lib V1.00 [21 Jul. 2005]
;**
;**  Device :	uPD78F0547
;**
;**  Compiler :	NEC/CC78K0
;**
;******************************************************************************

;
;******************************************************************************
;**  Include files
;******************************************************************************
$ INCLUDE (option.inc)
	OPT_SET CSEG AT 80H
OPTION:	DB	OPTION_BYTE
	DB	POC81
	DB	POC82
	DB	POC83
	ONC_SET CSEG AT 84H
ONCHIP:	DB	CG_ONCHIP

	CSEG SECUR_ID
SECURITY0:	DB	CG_SECURITY0	
SECURITY1:	DB	CG_SECURITY1	
SECURITY2:	DB	CG_SECURITY2	
SECURITY3:	DB	CG_SECURITY3	
SECURITY4:	DB	CG_SECURITY4	
SECURITY5:	DB	CG_SECURITY5	
SECURITY6:	DB	CG_SECURITY6	
SECURITY7:	DB	CG_SECURITY7	
SECURITY8:	DB	CG_SECURITY8	
SECURITY9:	DB	CG_SECURITY9
END

⌨️ 快捷键说明

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