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

📄 mb90595.asm

📁 富士通单片机MB90F387上实现MODBUS
💻 ASM
📖 第 1 页 / 共 2 页
字号:
/*  FFMC-16 IO-MAP HEADER FILE      */
/*  ==========================      */
/* CREATED BY IO-WIZARD V2.10   */
/* DATE: 30/01/03 TIME: 11:38:29 AM */
/* *********************************************************** */
/*               FUJITSU MIKROELEKTRONIK GMBH                  */
/*               Am Siebenstein 6-10, 63303 Dreieich           */
/*               Tel.:++49/6103/690-0,Fax - 122                */
/*                                                             */
/* The following software is for demonstration purposes only.  */
/* It is not fully tested, nor validated in order to fullfill  */
/* its task under all circumstances. Therefore, this software  */
/* or any part of it must only be used in an evaluation        */
/* laboratory environment.                                     */
/* This software is subject to the rules of our standard       */
/* DISCLAIMER, that is delivered with our SW-tools (on the CD  */
/* "Micros Documentation & Software V3.0" see "\START.HTM" or  */
/* see our Internet Page -                                     */
/* http://www.fujitsu-ede.com/products/micro/disclaimer.html   */
/* *********************************************************** */
/* History:                                                                  */
/* Date		Version	Author	Description                          */
/* 26.01.99 	1.0	TKA	created                                  */
/* 15.02.99	1.1	TKA	corrections:                     */
/*                      - 0x2A SES1 removed                                    */
/*                      - 0x2F SES2 changed to SES                             */
/*                      - 002A SCDCR -> changed to 002B, MD renamed to M1      */
/*                      - 0037 ADCR1 -> D8, D9 added                           */
/*                      - 006C TCDT  -> changed to 0066                        */
/*                      - 006E TCCS  -> changed to 0068                        */
/*                      - 0009 PDR9  -> PD92-PD95 added                        */
/*                      - 002C SMCS  -> upper byte and lower byte exchanged    */
/* 19.02.99	1.2	TKA	PPGC01/23/45/67/89/AB added to be able to use word */
/* 		access for the PPG control register in 16bit mode  */
/* 14.04.99	1.3	HLO */
/*                      - ICRxx changed to IOW-include file (Field usage)    */
/*                      - '_' removed from "!I"-symbols, now done by IO-wizard                                          */
/* 16.04.99	1.4	VSA	Bitdefinitions for parallelports are changed to Pxx, Dxx */
/* 06.05.99	1.5	HLO	disclaimer added                                   */
/* 15.07.99	1.6	VSA	PADRx 3 are renamed to PADRx_L 1, PADRx_M 1, PADRx_H 1 */
/* 03.07.00	1.7	VSA	ADC unit included (adc_01.h) */
/* 01.11.00	1.8	NMP	ADC Structure realignment */
/* 06.04.00     1.9     HLO     ADC: dummy bit before STS was missing (using latest adc_01.h) */
/* 24.09.01	2.0	MST	Security section for 'G'-series added */
/* 23.07.02     2.1     HWE     - Bit groups defined for PWCn */
/* 23.07.02     2.1     HWe     - new adc_01.h, icr.h (RMW-Problem) */
/* 30.01.03     2.2     HWe     - wordaccess to PPG Reload: PRL0, .. , PRLB */
/* 30.01.03                     - longwordaccess to PPG Reload: PRL01, .. , PRLAB */

 .PROGRAM MB90595
 .TITLE   MB90595

;------------------------
; IO-AREA DEFINITIONS :
;------------------------



 .section IOBASE, IO, locate=0x0000  ; /*  PORT DATA */
 .GLOBAL __pdr0,     __pdr1,     __pdr2,     __pdr3,     __pdr4,     __pdr5
 .GLOBAL __pdr6,     __pdr7,     __pdr8,     __pdr9,     __ddr0,     __ddr1
 .GLOBAL __ddr2,     __ddr3,     __ddr4,     __ddr5,     __ddr6,     __ddr7
 .GLOBAL __ddr8,     __ddr9,     __res_1,    __ader,     __umc0,     __usr0
 .GLOBAL __uidr0,    __uodr0,    __urd0,     __smr1,     __scr1,     __sidr1
 .GLOBAL __sodr1,    __ssr1,     __u1cdcr,   __scdcr,    __smcs,     __sdr
 .GLOBAL __ses,      __enir,     __eirr,     __elvr,     __adcs,     __adcs0
 .GLOBAL __adcs1,    __adcr,     __adcr0,    __adcr1,    __ppgc01,   __ppgc0
 .GLOBAL __ppgc1,    __ppg01,    __ppgc23,   __ppgc2,    __ppgc3,    __ppg23
 .GLOBAL __ppgc45,   __ppgc4,    __ppgc5,    __ppg45,    __ppgc67,   __ppgc6
 .GLOBAL __ppgc7,    __ppg67,    __ppgc89,   __ppgc8,    __ppgc9,    __ppg89
 .GLOBAL __ppgcab,   __ppgca,    __ppgcb,    __ppgab,    __tmcsr0,   __tmr0
 .GLOBAL __tmrlr0,   __tmcsr1,   __tmr1,     __tmrlr1,   __ocs0,     __ocs1
 .GLOBAL __ocs2,     __ocs3,     __ics01,    __ics23,    __pwc0,     __pwc1
 .GLOBAL __pwc2,     __pwc3,     __tcdt,     __tccs,     __romm,     __pwc10
 .GLOBAL __pwc20,    __pws10,    __pws20,    __pwc11,    __pwc21,    __pws11
 .GLOBAL __pws21,    __pwc12,    __pwc22,    __pws12,    __pws22,    __pwc13
 .GLOBAL __pwc23,    __pws13,    __pws23,    __canl,     __pacsr,    __dirr
 .GLOBAL __lpmcr,    __ckscr,    __wdtc,     __tbtc,     __fmcs,     __icr

__pdr0   .res.b 1             ;000000  /*  PORT DATA */
PDR0    .equ 0x0000
__pdr1   .res.b 1             ;000001
PDR1    .equ 0x0001
__pdr2   .res.b 1             ;000002
PDR2    .equ 0x0002
__pdr3   .res.b 1             ;000003
PDR3    .equ 0x0003
__pdr4   .res.b 1             ;000004
PDR4    .equ 0x0004
__pdr5   .res.b 1             ;000005
PDR5    .equ 0x0005
__pdr6   .res.b 1             ;000006
PDR6    .equ 0x0006
__pdr7   .res.b 1             ;000007
PDR7    .equ 0x0007
__pdr8   .res.b 1             ;000008
PDR8    .equ 0x0008
__pdr9   .res.b 1             ;000009
PDR9    .equ 0x0009
 .org 0x0010
__ddr0   .res.b 1             ;000010  /*  PORT DIRECTION */
DDR0    .equ 0x0010
__ddr1   .res.b 1             ;000011
DDR1    .equ 0x0011
__ddr2   .res.b 1             ;000012
DDR2    .equ 0x0012
__ddr3   .res.b 1             ;000013
DDR3    .equ 0x0013
__ddr4   .res.b 1             ;000014
DDR4    .equ 0x0014
__ddr5   .res.b 1             ;000015
DDR5    .equ 0x0015
__ddr6   .res.b 1             ;000016
DDR6    .equ 0x0016
__ddr7   .res.b 1             ;000017
DDR7    .equ 0x0017
__ddr8   .res.b 1             ;000018
DDR8    .equ 0x0018
__ddr9   .res.b 1             ;000019
DDR9    .equ 0x0019
__res_1   .res.b 1             ;00001A
RES_1    .equ 0x001A
__ader   .res.b 1             ;00001B
ADER    .equ 0x001B
 .org 0x0020
__umc0   .res.b 1             ;000020  /*  UART0 */
UMC0    .equ 0x0020
__usr0   .res.b 1             ;000021
USR0    .equ 0x0021
__uidr0   .res.b 1             ;000022
UIDR0    .equ 0x0022
 .org 0x0022
__uodr0   .res.b 1             ;000022
UODR0    .equ 0x0022
__urd0   .res.b 1             ;000023
URD0    .equ 0x0023
__smr1   .res.b 1             ;000024  /*  UART1 SCI with clock selection */
SMR1    .equ 0x0024
__scr1   .res.b 1             ;000025
SCR1    .equ 0x0025
__sidr1   .res.b 1             ;000026
SIDR1    .equ 0x0026
 .org 0x0026
__sodr1   .res.b 1             ;000026
SODR1    .equ 0x0026
__ssr1   .res.b 1             ;000027
SSR1    .equ 0x0027
__u1cdcr   .res.b 1             ;000028
U1CDCR    .equ 0x0028
 .org 0x002B
__scdcr   .res.b 1             ;00002B  /*  SIO with clock selection */
SCDCR    .equ 0x002B
__smcs   .res.b 2             ;00002C
SMCS    .equ 0x002C
__sdr   .res.b 1             ;00002E
SDR    .equ 0x002E
__ses   .res.b 1             ;00002F
SES    .equ 0x002F
__enir   .res.b 1             ;000030  /*  DTP, External Interrupts */
ENIR    .equ 0x0030
__eirr   .res.b 1             ;000031
EIRR    .equ 0x0031
__elvr   .res.b 2             ;000032
ELVR    .equ 0x0032
__adcs   .res.b 2             ;000034  /*  AD Converter  */
ADCS    .equ 0x0034
 .org 0x0034
__adcs0   .res.b 1             ;000034
ADCS0    .equ 0x0034
__adcs1   .res.b 1             ;000035
ADCS1    .equ 0x0035
__adcr   .res.b 2             ;000036
ADCR    .equ 0x0036
 .org 0x0036
__adcr0   .res.b 1             ;000036
ADCR0    .equ 0x0036
__adcr1   .res.b 1             ;000037
ADCR1    .equ 0x0037
__ppgc01   .res.b 2             ;000038  /*  PPG control */
PPGC01    .equ 0x0038
 .org 0x0038
__ppgc0   .res.b 1             ;000038
PPGC0    .equ 0x0038
__ppgc1   .res.b 1             ;000039
PPGC1    .equ 0x0039
__ppg01   .res.b 1             ;00003A
PPG01    .equ 0x003A
 .org 0x003C
__ppgc23   .res.b 2             ;00003C
PPGC23    .equ 0x003C
 .org 0x003C
__ppgc2   .res.b 1             ;00003C
PPGC2    .equ 0x003C
__ppgc3   .res.b 1             ;00003D
PPGC3    .equ 0x003D
__ppg23   .res.b 1             ;00003E
PPG23    .equ 0x003E
 .org 0x0040
__ppgc45   .res.b 2             ;000040
PPGC45    .equ 0x0040
 .org 0x0040
__ppgc4   .res.b 1             ;000040
PPGC4    .equ 0x0040
__ppgc5   .res.b 1             ;000041
PPGC5    .equ 0x0041
__ppg45   .res.b 1             ;000042
PPG45    .equ 0x0042
 .org 0x0044
__ppgc67   .res.b 2             ;000044
PPGC67    .equ 0x0044
 .org 0x0044
__ppgc6   .res.b 1             ;000044
PPGC6    .equ 0x0044
__ppgc7   .res.b 1             ;000045
PPGC7    .equ 0x0045
__ppg67   .res.b 1             ;000046
PPG67    .equ 0x0046
 .org 0x0048
__ppgc89   .res.b 2             ;000048
PPGC89    .equ 0x0048
 .org 0x0048
__ppgc8   .res.b 1             ;000048
PPGC8    .equ 0x0048
__ppgc9   .res.b 1             ;000049
PPGC9    .equ 0x0049
__ppg89   .res.b 1             ;00004A
PPG89    .equ 0x004A
 .org 0x004C
__ppgcab   .res.b 2             ;00004C
PPGCAB    .equ 0x004C
 .org 0x004C
__ppgca   .res.b 1             ;00004C
PPGCA    .equ 0x004C
__ppgcb   .res.b 1             ;00004D
PPGCB    .equ 0x004D
__ppgab   .res.b 1             ;00004E
PPGAB    .equ 0x004E
 .org 0x0050
__tmcsr0   .res.b 2             ;000050  /*  16-Bit Reload Timer */
TMCSR0    .equ 0x0050
__tmr0   .res.b 2             ;000052
TMR0    .equ 0x0052
 .org 0x0052
__tmrlr0   .res.b 2             ;000052
TMRLR0    .equ 0x0052
__tmcsr1   .res.b 2             ;000054
TMCSR1    .equ 0x0054
__tmr1   .res.b 2             ;000056
TMR1    .equ 0x0056
 .org 0x0056
__tmrlr1   .res.b 2             ;000056
TMRLR1    .equ 0x0056

⌨️ 快捷键说明

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