📄 mb90420.asm
字号:
SGTR .equ 0x005F
__ipcp0 .res.b 2 ;000060 /* ICU unit 0/1/2/3 */
IPCP0 .equ 0x0060
__ipcp1 .res.b 2 ;000062
IPCP1 .equ 0x0062
__ipcp2 .res.b 2 ;000064
IPCP2 .equ 0x0064
__ipcp3 .res.b 2 ;000066
IPCP3 .equ 0x0066
__ics01 .res.b 1 ;000068 /* Input Capture 0/1/2/3 */
ICS01 .equ 0x0068
.org 0x006A
__ics23 .res.b 1 ;00006A
ICS23 .equ 0x006A
.org 0x006C
__lcr .res.b 2 ;00006C /* */
LCR .equ 0x006C
.org 0x006C
__lcrl .res.b 1 ;00006C
LCRL .equ 0x006C
__lcrh .res.b 1 ;00006D
LCRH .equ 0x006D
__lvrc .res.b 1 ;00006E
LVRC .equ 0x006E
__romm .res.b 1 ;00006F /* ROM mirror function */
ROMM .equ 0x006F
__canl1 .res.b 0x10 ;000070 /* CAN status/control 1, lower part */
CANL1 .equ 0x0070
__pwc0 .res.b 1 ;000080
PWC0 .equ 0x0080
.org 0x0082
__pwc1 .res.b 1 ;000082
PWC1 .equ 0x0082
.org 0x0084
__pwc2 .res.b 1 ;000084
PWC2 .equ 0x0084
.org 0x0086
__pwc3 .res.b 1 ;000086
PWC3 .equ 0x0086
.org 0x009E
__pacsr .res.b 1 ;00009E /* Program Patch Function */
PACSR .equ 0x009E
__dirr .res.b 1 ;00009F /* Delayed Interrupt */
DIRR .equ 0x009F
__lpmcr .res.b 1 ;0000A0 /* Low Power Control Registers */
LPMCR .equ 0x00A0
__ckscr .res.b 1 ;0000A1
CKSCR .equ 0x00A1
.org 0x00A8
__wdtc .res.b 1 ;0000A8 /* Watch Dog */
WDTC .equ 0x00A8
__tbtc .res.b 1 ;0000A9 /* Time Base Timer */
TBTC .equ 0x00A9
__wtc .res.b 1 ;0000AA /* */
WTC .equ 0x00AA
.org 0x00AE
__fmcs .res.b 1 ;0000AE /* Flash Control Register */
FMCS .equ 0x00AE
.org 0x00B0
__icr .res.b 0x10 ;0000B0 /* Interrupt Control Registers */
ICR .equ 0x00B0
.section IOXTND, DATA, locate=0x1FF0 ; /* */
.GLOBAL __padr0l, __padr0m, __padr0h, __padr1l, __padr1m, __padr1h
.GLOBAL __pdcr0, __pcsr0, __pdut0, __pdcr1, __pcsr1, __pdut1
.GLOBAL __pdcr2, __pcsr2, __pdut2, __wtbrl, __wtbrm, __wtbrh
.GLOBAL __wtsr, __wtmr, __wthr, __seg00, __seg01, __seg02
.GLOBAL __seg03, __seg04, __seg05, __seg06, __seg07, __seg08
.GLOBAL __seg09, __seg10, __seg11, __seg12, __seg13, __seg14
.GLOBAL __seg15, __seg16, __seg17, __seg18, __seg19, __seg20
.GLOBAL __seg21, __seg22, __seg23, __pwc10, __pwc20, __pws10
.GLOBAL __pws20, __pwc11, __pwc21, __pws11, __pws21, __pwc12
.GLOBAL __pwc22, __pws12, __pws22, __pwc13, __pwc23, __pws13
.GLOBAL __pws23, __canm0, __canm1, __canh0, __canh1, ___endio
__padr0l .res.b 1 ;001FF0 /* */
PADR0L .equ 0x1FF0
__padr0m .res.b 1 ;001FF1
PADR0M .equ 0x1FF1
__padr0h .res.b 1 ;001FF2
PADR0H .equ 0x1FF2
__padr1l .res.b 1 ;001FF3
PADR1L .equ 0x1FF3
__padr1m .res.b 1 ;001FF4
PADR1M .equ 0x1FF4
__padr1h .res.b 1 ;001FF5
PADR1H .equ 0x1FF5
.org 0x3920
__pdcr0 .res.b 2 ;003920 /* */
PDCR0 .equ 0x3920
__pcsr0 .res.b 2 ;003922
PCSR0 .equ 0x3922
__pdut0 .res.b 2 ;003924
PDUT0 .equ 0x3924
.org 0x3928
__pdcr1 .res.b 2 ;003928
PDCR1 .equ 0x3928
__pcsr1 .res.b 2 ;00392A
PCSR1 .equ 0x392A
__pdut1 .res.b 2 ;00392C
PDUT1 .equ 0x392C
.org 0x3930
__pdcr2 .res.b 2 ;003930
PDCR2 .equ 0x3930
__pcsr2 .res.b 2 ;003932
PCSR2 .equ 0x3932
__pdut2 .res.b 2 ;003934
PDUT2 .equ 0x3934
.org 0x395A
__wtbrl .res.b 1 ;00395A /* */
WTBRL .equ 0x395A
__wtbrm .res.b 1 ;00395B
WTBRM .equ 0x395B
__wtbrh .res.b 1 ;00395C
WTBRH .equ 0x395C
__wtsr .res.b 1 ;00395D
WTSR .equ 0x395D
__wtmr .res.b 1 ;00395E
WTMR .equ 0x395E
__wthr .res.b 1 ;00395F
WTHR .equ 0x395F
__seg00 .res.b 1 ;003960 /* LCD Display RAM */
SEG00 .equ 0x3960
.org 0x3960
__seg01 .res.b 1 ;003960
SEG01 .equ 0x3960
__seg02 .res.b 1 ;003961
SEG02 .equ 0x3961
.org 0x3961
__seg03 .res.b 1 ;003961
SEG03 .equ 0x3961
__seg04 .res.b 1 ;003962
SEG04 .equ 0x3962
.org 0x3962
__seg05 .res.b 1 ;003962
SEG05 .equ 0x3962
__seg06 .res.b 1 ;003963
SEG06 .equ 0x3963
.org 0x3963
__seg07 .res.b 1 ;003963
SEG07 .equ 0x3963
__seg08 .res.b 1 ;003964
SEG08 .equ 0x3964
.org 0x3964
__seg09 .res.b 1 ;003964
SEG09 .equ 0x3964
__seg10 .res.b 1 ;003965
SEG10 .equ 0x3965
.org 0x3965
__seg11 .res.b 1 ;003965
SEG11 .equ 0x3965
__seg12 .res.b 1 ;003966
SEG12 .equ 0x3966
.org 0x3966
__seg13 .res.b 1 ;003966
SEG13 .equ 0x3966
__seg14 .res.b 1 ;003967
SEG14 .equ 0x3967
.org 0x3967
__seg15 .res.b 1 ;003967
SEG15 .equ 0x3967
__seg16 .res.b 1 ;003968
SEG16 .equ 0x3968
.org 0x3968
__seg17 .res.b 1 ;003968
SEG17 .equ 0x3968
__seg18 .res.b 1 ;003969
SEG18 .equ 0x3969
.org 0x3969
__seg19 .res.b 1 ;003969
SEG19 .equ 0x3969
__seg20 .res.b 1 ;00396A
SEG20 .equ 0x396A
.org 0x396A
__seg21 .res.b 1 ;00396A
SEG21 .equ 0x396A
__seg22 .res.b 1 ;00396B
SEG22 .equ 0x396B
.org 0x396B
__seg23 .res.b 1 ;00396B
SEG23 .equ 0x396B
.org 0x3980
__pwc10 .res.b 2 ;003980 /* */
PWC10 .equ 0x3980
__pwc20 .res.b 2 ;003982
PWC20 .equ 0x3982
__pws10 .res.b 1 ;003984
PWS10 .equ 0x3984
__pws20 .res.b 1 ;003985
PWS20 .equ 0x3985
.org 0x3988
__pwc11 .res.b 2 ;003988
PWC11 .equ 0x3988
__pwc21 .res.b 2 ;00398A
PWC21 .equ 0x398A
__pws11 .res.b 1 ;00398C
PWS11 .equ 0x398C
__pws21 .res.b 1 ;00398D
PWS21 .equ 0x398D
.org 0x3990
__pwc12 .res.b 2 ;003990
PWC12 .equ 0x3990
__pwc22 .res.b 2 ;003992
PWC22 .equ 0x3992
__pws12 .res.b 1 ;003994
PWS12 .equ 0x3994
__pws22 .res.b 1 ;003995
PWS22 .equ 0x3995
.org 0x3998
__pwc13 .res.b 2 ;003998
PWC13 .equ 0x3998
__pwc23 .res.b 2 ;00399A
PWC23 .equ 0x399A
__pws13 .res.b 1 ;00399C
PWS13 .equ 0x399C
__pws23 .res.b 1 ;00399D
PWS23 .equ 0x399D
.org 0x3A00
__canm0 .res.b 0x40 ;003A00 /* CAN message buffer */
CANM0 .equ 0x3A00
.org 0x3B00
__canm1 .res.b 0x40 ;003B00
CANM1 .equ 0x3B00
.org 0x3C00
__canh0 .res.b 0x1C ;003C00 /* Status and control register, higher part */
CANH0 .equ 0x3C00
.org 0x3D00
__canh1 .res.b 0x1C ;003D00 /* Status and control register, higher part */
CANH1 .equ 0x3D00
.org 0x3FFF
___endio .res.b 1 ;003FFF /* dummy end for IO segment area IOBASE */
_ENDIO .equ 0x3FFF
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -