三菱单片机 瑞萨单片机 Renesas 品牌单片机反汇编主要型号为
支持型号:
M30855,M30620,
三菱单片机 瑞萨单片机 Renesas 品牌单片机反汇编例程参考
DC.W main
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W L000500
DC.W L000502
DC.W L000504
DC.W L000506
DC.W L000508
DC.W L00050A
DC.W L00050C
DC.W L00050E
DC.W L000510
DC.W L000512
DC.W L000514
DC.W L000516
DC.W L000518
DC.W 0xFFFF
DC.W 0xFFFF
DC.W L00051A
DC.W L000178
DC.W L00051C
DC.W L00051E
DC.W L000520
DC.W L000114
DC.W 0xFFFF
DC.W L000524
DC.W 0xFFFF
DC.W 0xFFFF
DC.W L000522
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
DC.W 0xFFFF
;=====================================================================================================
L000052: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L00005A: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L000062: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L00006A: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L000072: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L00007A: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L000082: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L00008A: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L000092: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L00009A: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000A2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000AA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000B2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000BA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000C2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000CA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000D2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000DA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000E2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000EA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000F2: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;........;
L0000FA: DC8 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF ;......;
;=====================================================================================================
main MOV.W #0xFF80:16,R7 ;0100 79 07 FF 80
ORC #0x80:8,CCR ;0104 04 80
JSR @L0084AE ;0106 5E 00 84 AE
ANDC #0x7F:8,CCR ;010A 06 7F
BSR L00636E:16 ;010C 5C 00 62 5E
SLEEP ;0110 01 80
RTS ;0112 54 70
;=====================================================================================================
L000114 PUSH.W R0 ;0114 6D F0
MOV.B @TZ1_TSR_BYTE:16,R0L ;0116 6A 08 F7 13
BLD #0x01:3,R0L ;011A 77 18
BCC L00015A:8 ;011C 44 3C
MOV.B @0xE80A:16,R0L ;011E 6A 08 E8 0A
BMI L000136:8 ;0122 4B 12
MOV.W @TZ1_GRB:16,R0 ;0124 6B 00 F7 1A
MOV.W R0,@0xE800:16 ;0128 6B 80 E8 00
MOV.W #0xE80A:16,R0 ;012C 79 00 E8 0A
BSET #0x07:3,@ER0 ;0130 7D 00 70 70
BRA L000152:8 ;0134 40 1C
;=====================================================================================================
L000136: BLD #0x06:3,R0L ;0136 77 68
BCS L00014A:8 ;0138 45 10
MOV.W @TZ1_GRB:16,R0 ;013A 6B 00 F7 1A
MOV.W R0,@0xE802:16 ;013E 6B 80 E8 02
MOV.W #0xE80A:16,R0 ;0142 79 00 E8 0A
BSET #0x06:3,@ER0 ;0146 7D 00 70 60
L00014A: MOV.W #0xF714:16,R0 ;014A 79 00 F7 14
BCLR #0x01:3,@ER0 ;014E 7D 00 72 10
L000152: MOV.W #0xF713:16,R0 ;0152 79 00 F7 13
BCLR #0x01:3,@ER0 ;0156 7D 00 72 10
L00015A: MOV.B @TZ1_TSR_BYTE:16,R0L ;015A 6A 08 F7 13
BLD #0x03:3,R0L ;015E 77 38
BCC L000174:8 ;0160 44 12
MOV.B @0xEA94:16,R0L ;0162 6A 08 EA 94
INC.B R0L ;0166 0A 08
MOV.B R0L,@0xEA94:16 ;0168 6A 88 EA 94
MOV.W #0xF713:16,R0 ;016C 79 00 F7 13
BCLR #0x03:3,@ER0 ;0170 7D 00 72 30
L000174: POP.W R0 ;0174 6D 70
RTE ;0176 56 70
L000178 PUSH.L ER2 ;0178 01 00 6D F2
PUSH.L ER1 ;017C 01 00 6D F1
PUSH.L ER0 ;0180 01 00 6D F0
BLD #0x06:3,@0xAC:8 ;0184 7E AC 77 60
BCC L0001EC:8 ;0188 44 62
BLD #0x06:3,@0xAA:8 ;018A 7E AA 77 60
BCC L0001EC:8 ;018E 44 5C
MOV.B @0xE8A1:16,R0L ;0190 6A 08 E8 A1
INC.B R0L ;0194 0A 08
MOV.B R0L,@0xE8A1:16 ;0196 6A 88 E8 A1
DEC.B R0L ;019A 1A 08
EXTU.W R0 ;019C 17 50
MOV.B @0xAD:8,R1L ;019E 29 AD
MOV.B R1L,@(0xE899:16,ER0) ;01A0 6E 89 E8 99
MOV.B @0xE8AB:16,R0L ;01A4 6A 08 E8 AB
INC.B R0L ;01A8 0A 08
MOV.B R0L,@0xE8AB:16 ;01AA 6A 88 E8 AB
DEC.B R0L ;01AE 1A 08
EXTU.W R0 ;01B0 17 50
MOV.B @0xAD:8,R1L ;01B2 29 AD
MOV.B R1L,@(0xE8A3:16,ER0) ;01B4 6E 89 E8 A3
MOV.B @0xE8A1:16,R0L ;01B8 6A 08 E8 A1
CMP.B #0x08:8,R0L ;01BC A8 08
BNE L0001C6:8 ;01BE 46 06
SUB.B R0L,R0L ;01C0 18 88
MOV.B R0L,@0xE8A1:16 ;01C2 6A 88 E8 A1
L0001C6: MOV.B @0xE8AB:16,R0L ;01C6 6A 08 E8 AB
CMP.B #0x08:8,R0L ;01CA A8 08
BNE L0001D4:8 ;01CC 46 06
SUB.B R0L,R0L ;01CE 18 88
MOV.B R0L,@0xE8AB:16 ;01D0 6A 88 E8 AB
L0001D4: SUB.B R0L,R0L ;01D4 18 88
MOV.B R0L,@0xEA68:16 ;01D6 6A 88 EA 68
ANDC #0x7F:8,CCR ;01DA 06 7F
MOV.W #0x52:16,R0 ;01DC 79 00 00 52
BSR L00343A:16 ;01E0 5C 00 32 56
SUB.W E0,E0 ;01E4 19 88
MOV.B #0x52:8,R0L ;01E6 F8 52
BSR L0037CA:16 ;01E8 5C 00 35 DE
L0001EC: MOV.B @0xAC:8,R0L ;01EC 28 AC
AND.B #0x38:8,R0L ;01EE E8 38
BEQ L000210:8 ;01F0 47 1E
BLD #0x06:3,@0xAA:8 ;01F2 7E AA 77 60
BCC L000210:8 ;01F6 44 18
BCLR #0x05:3,@0xAC:8 ;01F8 7F AC 72 50
BCLR #0x04:3,@0xAC:8 ;01FC 7F AC 72 40
BCLR #0x03:3,@0xAC:8 ;0200 7F AC 72 30
SUB.B R0L,R0L ;0204 18 88
MOV.B R0L,@0xEA68:16 ;0206 6A 88 EA 68
MOV.B #0x01:8,R0L ;020A F8 01
MOV.B R0L,@0xEA6A:16 ;020C 6A 88 EA 6A
L000210: BLD #0x02:3,@0xAC:8 ;0210 7E AC 77 20
BCC L00022A:8 ;0214 44 14
BLD #0x02:3,@0xAA:8 ;0216 7E AA 77 20
BCC L00022A:8 ;021A 44 0E
SUB.B R0L,R0L ;021C 18 88
MOV.B R0L,@0xE898:16 ;021E 6A 88 E8 98
MOV.B R0L,@0xEA68:16 ;0222 6A 88 EA 68
BCLR #0x02:3,@0xAA:8 ;0226 7F AA 72 20
L00022A: MOV.B @0xAC:8,R0L ;022A 28 AC
BPL L00023C:8 ;022C 4A 0E
MOV.B @0xAA:8,R0L ;022E 28 AA
BPL L00023C:8 ;0230 4A 0A
SUB.B R0L,R0L ;0232 18 88
MOV.B R0L,@0xEA68:16 ;0234 6A 88 EA 68
BCLR #0x07:3,@0xAA:8 ;0238 7F AA 72 70
L00023C: POP.L ER0 ;023C 01 00 6D 70
POP.L ER1 ;0240 01 00 6D 71
POP.L ER2 ;0244 01 00 6D 72
RTE ;0248 56 70
L00024A: SUB.B R0L,R0L ;024A 18 88
MOV.B R0L,@0xE899:16 ;024C 6A 88 E8 99
MOV.B R0L,@0xE8A1:16 ;0250 6A 88 E8 A1
MOV.B R0L,@0xE8A2:16 ;0254 6A 88 E8 A2
RTS ;0258 54 70
;=====================================================================================================
L00025A: SUB.B R0L,R0L ;025A 18 88
MOV.B R0L,@0xE8A3:16 ;025C 6A 88 E8 A3
MOV.B @0xE8AB:16,R0L ;0260 6A 08 E8 AB
MOV.B R0L,@0xE8AC:16 ;0264 6A 88 E8 AC
RTS ;0268 54 70
;=====================================================================================================
L00026A: ORC #0x80:8,CCR ;026A 04 80
MOV.B @0xEA69:16,R0L ;026C 6A 08 EA 69
BEQ L000278:8 ;0270 47 06
ANDC #0x7F:8,CCR ;0272 06 7F
SUB.B R0L,R0L ;0274 18 88
BRA L00028C:8 ;0276 40 14
;=====================================================================================================
L000278: MOV.W #0x05:16,E0 ;0278 79 08 00 05
MOV.W #0xE88A:16,R0 ;027C 79 00 E8 8A
BSR L00064A:16 ;0280 5C 00 03 C6
MOV.B #0x01:8,R0L ;0284 F8 01
MOV.B R0L,@0xEA69:16 ;0286 6A 88 EA 69
ANDC #0x7F:8,CCR ;028A 06 7F
L00028C: RTS ;028C 54 70
;=====================================================================================================
L00028E: MOV.B @0xAC:8,R0L ;028E 28 AC
AND.B #0xC7:8,R0L ;0290 E8 C7
MOV.B R0L,@0xAC:8 ;0292 38 AC
ORC #0x80:8,CCR ;0294 04 80
SUB.B R0L,R0L ;0296 18 88
MOV.B R0L,@0xEA69:16 ;0298 6A 88 EA 69
ANDC #0x7F:8,CCR ;029C 06 7F
RTS ;029E 54 70
;=====================================================================================================
L0002A0: PUSH.W R6 ;02A0 6D F6
MOV.W R0,R6 ;02A2 0D 06
MOV.B #0x02:8,R1L ;02A4 F9 02
MOV.B R1L,@0xE8BF:16 ;02A6 6A 89 E8 BF
MOV.B @ER6,R1L ;02AA 68 69
MOV.B R1L,@0xE8C0:16 ;02AC 6A 89 E8 C0
MOV.B @(0x02:16,ER6),R1L ;02B0 6E 69 00 02
ADD.B #0x07:8,R1L ;02B4 89 07
MOV.B R1L,@0xE8C1:16 ;02B6 6A 89 E8 C1
MOV.B @(0x01:16,ER6),R1L ;02BA 6E 69 00 01
MOV.B R1L,@0xE8C2:16 ;02BE 6A 89 E8 C2
SUB.B R2L,R2L ;02C2 18 AA
BRA L0002DA:8 ;02C4 40 14
;=====================================================================================================
L0002C6: EXTU.W R2 ;02C6 17 52
MOV.W R2,E6 ;02C8 0D 2E
MOV.W E6,R0 ;02CA 0D E0
MOV.W @(0x04:16,ER6),R1 ;02CC 6F 61 00 04
ADD.W E6,R1 ;02D0 09 E1
MOV.B @ER1,R1L ;02D2 68 19
MOV.B R1L,@(0xE8C3:16,ER0) ;02D4 6E 89 E8 C3
INC.B R2L ;02D8 0A 0A
L0002DA: MOV.B @(0x02:16,ER6),R0L ;02DA 6E 68 00 02
CMP.B R0L,R2L ;02DE 1C 8A
BCS L0002C6:8 ;02E0 45 E4
EXTU.W R0 ;02E2 17 50
MOV.B #0x03:8,R1L ;02E4 F9 03
MOV.B R1L,@(0xE8C5:16,ER0) ;02E6 6E 89 E8 C5
MOV.B @(0x02:16,ER6),R0L ;02EA 6E 68 00 02
ADD.B R0L,R1L ;02EE 08 89
MOV.W #0xE8C0:16,R0 ;02F0 79 00 E8 C0
BSR L003A58:16 ;02F4 5C 00 37 60
MOV.W R0,E6 ;02F8 0D 0E
MOV.B @(0x02:16,ER6),R1L ;02FA 6E 69 00 02
EXTU.W R1 ;02FE 17 51
MOV.B R0H,@(0xE8C3:16,ER1) ;0300 6E 90 E8 C3
MOV.B @(0x02:16,ER6),R0L ;0304 6E 68 00 02
EXTU.W R0 ;0308 17 50
MOV.W E6,R1 ;030A 0D E1
MOV.B R1L,@(0xE8C4:16,ER0) ;030C 6E 89 E8 C4
MOV.B @0xE8C1:16,R0L ;0310 6A 08 E8 C1
POP.W R6 ;0314 6D 76
RTS ;0316 54 70
;=====================================================================================================
反汇编程序说明:
1.反汇编程序中标示中断向量功能,及其中断子程序,方便阅读.
2.反汇编程序可明确读出各控制寄存器名称及RAM寄存器名称;
3.反汇编程序标示出DATA区与CODE区段;
4.反汇编程序中标示出程序跳转和CALL地址;
5.反汇编程序中标出所有寄存器名称和位名称;
6.反汇编程序子程序间用符号分机,可以提高程序的理解能力;
7.反汇编程序可以编译产生正确无误的烧录代码,可以通过器实时运行,实际理解程序功能,达到修改程序功能的目的.
支持型号:
M30855,M30620,
文章标签:
品牌单片机反汇编
三菱单片机反汇编
瑞萨单片机反汇编
Renesas品牌单片机反汇编
本文链接地址: 三菱单片机 瑞萨单片机 Renesas 品牌单片机反汇编:
http://www.mcucd.com/dfb/72.html
联系信息:单片机疑难问题咨询:方先生 手机:15328075932 QQ:67828115
版权声明
本文部分文字和图片来源于互联网,如有侵犯您的权利请发送内容至:173323810@qq.com,我们将立即删除!