📄 menu.txt
字号:
; generated by ARM/Thumb C/C++ Compiler with , RVCT3.0 [Build 951] for uVision
; commandline ArmCC [--debug -c --asm --interleave -omenu.o --device=DARMP --apcs=interwork -O0 -IC:\Keil\ARM\INC\Philips GUI\menu.c]
ARM
AREA ||.text.7||, CODE, READONLY, ALIGN=2
GUI_Button49x14 PROC
;;;345 void GUI_Button49x14(uint32 x, uint32 y, uint8 *dat)
;;;346 { GUI_LoadPic(x, y, (uint8 *)dat, 49, 14);
000000 e92d40f8 PUSH {r3-r7,lr}
000004 e1a04000 MOV r4,r0
000008 e1a05001 MOV r5,r1
00000c e1a06002 MOV r6,r2
000010 e3a0300e MOV r3,#0xe
000014 e58d3000 STR r3,[sp,#0]
000018 e3a03031 MOV r3,#0x31
00001c e1a02006 MOV r2,r6
000020 e1a01005 MOV r1,r5
000024 e1a00004 MOV r0,r4
000028 ebfffffe BL GUI_LoadPic
;;;347 }
00002c e8bd40f8 POP {r3-r7,lr}
000030 e12fff1e BX lr
ENDP
GUI_Button_OK PROC
;;;358 void GUI_Button_OK(uint32 x, uint32 y)
;;;359 { GUI_LoadPic(x, y, (uint8 *) button_ok, 49, 14);
000034 e92d4038 PUSH {r3-r5,lr}
000038 e1a04000 MOV r4,r0
00003c e1a05001 MOV r5,r1
000040 e3a0300e MOV r3,#0xe
000044 e58d3000 STR r3,[sp,#0]
000048 e3a03031 MOV r3,#0x31
00004c e59f216c LDR r2,|L1.448|
000050 e1a01005 MOV r1,r5
000054 e1a00004 MOV r0,r4
000058 ebfffffe BL GUI_LoadPic
;;;360 }
00005c e8bd4038 POP {r3-r5,lr}
000060 e12fff1e BX lr
ENDP
GUI_Button_OK1 PROC
;;;370 void GUI_Button_OK1(uint32 x, uint32 y)
;;;371 { GUI_LoadPic(x, y, (uint8 *) button_ok1, 49, 14);
000064 e92d4038 PUSH {r3-r5,lr}
000068 e1a04000 MOV r4,r0
00006c e1a05001 MOV r5,r1
000070 e3a0300e MOV r3,#0xe
000074 e58d3000 STR r3,[sp,#0]
000078 e3a03031 MOV r3,#0x31
00007c e59f2140 LDR r2,|L1.452|
000080 e1a01005 MOV r1,r5
000084 e1a00004 MOV r0,r4
000088 ebfffffe BL GUI_LoadPic
;;;372 }
00008c e8bd4038 POP {r3-r5,lr}
000090 e12fff1e BX lr
ENDP
GUI_Button_Cancle PROC
;;;382 void GUI_Button_Cancle(uint32 x, uint32 y)
;;;383 { GUI_LoadPic(x, y, (uint8 *) button_cancle, 49, 14);
000094 e92d4038 PUSH {r3-r5,lr}
000098 e1a04000 MOV r4,r0
00009c e1a05001 MOV r5,r1
0000a0 e3a0300e MOV r3,#0xe
0000a4 e58d3000 STR r3,[sp,#0]
0000a8 e3a03031 MOV r3,#0x31
0000ac e59f2114 LDR r2,|L1.456|
0000b0 e1a01005 MOV r1,r5
0000b4 e1a00004 MOV r0,r4
0000b8 ebfffffe BL GUI_LoadPic
;;;384 }
0000bc e8bd4038 POP {r3-r5,lr}
0000c0 e12fff1e BX lr
ENDP
GUI_Button_Cancle1 PROC
;;;394 void GUI_Button_Cancle1(uint32 x, uint32 y)
;;;395 { GUI_LoadPic(x, y, (uint8 *) button_cancle1, 49, 14);
0000c4 e92d4038 PUSH {r3-r5,lr}
0000c8 e1a04000 MOV r4,r0
0000cc e1a05001 MOV r5,r1
0000d0 e3a0300e MOV r3,#0xe
0000d4 e58d3000 STR r3,[sp,#0]
0000d8 e3a03031 MOV r3,#0x31
0000dc e59f20e8 LDR r2,|L1.460|
0000e0 e1a01005 MOV r1,r5
0000e4 e1a00004 MOV r0,r4
0000e8 ebfffffe BL GUI_LoadPic
;;;396 }
0000ec e8bd4038 POP {r3-r5,lr}
0000f0 e12fff1e BX lr
ENDP
GUI_MenuIcoDraw PROC
;;;406 uint8 GUI_MenuIcoDraw(MENUICO *ico)
;;;407 {
0000f4 e92d4038 PUSH {r3-r5,lr}
0000f8 e1a04000 MOV r4,r0
;;;408 /* 参数过滤 */
;;;409 if( ( (ico->x)<5 ) || ( (ico->x)>(GUI_LCM_XMAX-37 ) ) ) return(0); // 显示起始地址判断
0000fc e5940000 LDR r0,[r4,#0]
000100 e3500005 CMP r0,#5
000104 3a000002 BCC |L1.276|
000108 e5940000 LDR r0,[r4,#0]
00010c e350002f CMP r0,#0x2f
000110 9a000002 BLS |L1.288|
|L1.276|
000114 e3a00000 MOV r0,#0
|L1.280|
000118 e8bd4038 POP {r3-r5,lr}
;;;410 if( ( (ico->icodat)==NULL ) || ( (ico->title)==NULL ) ) return(0); // 显示数据内容判断
;;;411
;;;412 // GUI_LoadPic(ico->x, ico->y, (uint8 *) ico->icodat, 32, 32); // 显示ICO图
;;;413 // GUI_HLine(ico->x-5, ico->y+32, ico->x+37, back_color); // 显示一空行
;;;414 if( (ico->state)==0 )
;;;415 {
;;;416 GUI_LoadPic(ico->x, ico->y, (uint8 *) ico->icodat, 32, 32); // 显示ICO图
;;;417 // GUI_HLine(ico->x-5, ico->y+32, ico->x+37, back_color); // 显示一空行
;;;418 GUI_LoadPic(ico->x-5, ico->y+33, (uint8 *) ico->title, 42, 13);
;;;419 }
;;;420 else
;;;421 {
;;;422 GUI_LoadPic1(ico->x, ico->y, (uint8 *) ico->icodat, 32, 32); // 显示ICO图
;;;423 //GUI_HLine(ico->x-5, ico->y+32, ico->x+37, back_color); // 显示一空行
;;;424 GUI_LoadPic1(ico->x-5, ico->y+33, (uint8 *) ico->title, 42, 13);
;;;425 }
;;;426
;;;427 return(1);
;;;428 }
00011c e12fff1e BX lr
|L1.288|
000120 e5940008 LDR r0,[r4,#8] ;410
000124 e3500000 CMP r0,#0 ;410
000128 0a000002 BEQ |L1.312| ;410
00012c e594000c LDR r0,[r4,#0xc] ;410
000130 e3500000 CMP r0,#0 ;410
000134 1a000001 BNE |L1.320| ;410
|L1.312|
000138 e3a00000 MOV r0,#0 ;410
00013c eafffff5 B |L1.280| ;410
|L1.320|
000140 e5d40010 LDRB r0,[r4,#0x10] ;414
000144 e3500000 CMP r0,#0 ;414
000148 1a00000d BNE |L1.388| ;414
00014c e3a03020 MOV r3,#0x20 ;416
000150 e58d3000 STR r3,[sp,#0] ;416
000154 e8940007 LDM r4,{r0-r2} ;416
000158 ebfffffe BL GUI_LoadPic ;416
00015c e3a0300d MOV r3,#0xd ;418
000160 e58d3000 STR r3,[sp,#0] ;418
000164 e5943004 LDR r3,[r4,#4] ;418
000168 e2831021 ADD r1,r3,#0x21 ;418
00016c e5943000 LDR r3,[r4,#0] ;418
000170 e2430005 SUB r0,r3,#5 ;418
000174 e3a0302a MOV r3,#0x2a ;418
000178 e594200c LDR r2,[r4,#0xc] ;418
00017c ebfffffe BL GUI_LoadPic ;418
000180 ea00000c B |L1.440| ;418
|L1.388|
000184 e3a03020 MOV r3,#0x20 ;422
000188 e58d3000 STR r3,[sp,#0] ;422
00018c e8940007 LDM r4,{r0-r2} ;422
000190 ebfffffe BL GUI_LoadPic1 ;422
000194 e3a0300d MOV r3,#0xd ;424
000198 e58d3000 STR r3,[sp,#0] ;424
00019c e5943004 LDR r3,[r4,#4] ;424
0001a0 e2831021 ADD r1,r3,#0x21 ;424
0001a4 e5943000 LDR r3,[r4,#0] ;424
0001a8 e2430005 SUB r0,r3,#5 ;424
0001ac e3a0302a MOV r3,#0x2a ;424
0001b0 e594200c LDR r2,[r4,#0xc] ;424
0001b4 ebfffffe BL GUI_LoadPic1 ;424
|L1.440|
0001b8 e3a00001 MOV r0,#1 ;427
0001bc eaffffd5 B |L1.280| ;427
|L1.448|
0001c0 00000000 DCD button_ok ;427
|L1.452|
0001c4 00000000 DCD button_ok1 ;427
|L1.456|
0001c8 00000000 DCD button_cancle ;427
|L1.460|
0001cc 00000000 DCD button_cancle1 ;427
ENDP
AREA ||.constdata.1||, DATA, READONLY, ALIGN=0
button_ok
DCB 0x07,0xff,0xff,0xff
DCB 0xff,0xf0,0x00,0x18
DCB 0x00,0x00,0x00,0x00
DCB 0x0c,0x00,0x20,0x00
DCB 0x00,0x00,0x00,0x02
DCB 0x00,0x40,0x00,0x0e
DCB 0x76,0x00,0x01,0x00
DCB 0x80,0x00,0x11,0x24
DCB 0x00,0x00,0x80,0x80
DCB 0x00,0x11,0x28,0x00
DCB 0x00,0x80,0x80,0x00
DCB 0x11,0x30,0x00,0x00
DCB 0x80,0x80,0x00,0x11
DCB 0x28,0x00,0x00,0x80
DCB 0x80,0x00,0x11,0x28
DCB 0x00,0x00,0x80,0x80
DCB 0x00,0x11,0x24,0x00
DCB 0x00,0x80,0x40,0x00
DCB 0x0e,0x76,0x00,0x01
DCB 0x00,0x20,0x00,0x00
DCB 0x00,0x00,0x02,0x00
DCB 0x18,0x00,0x00,0x00
DCB 0x00,0x0c,0x00,0x07
DCB 0xff,0xff,0xff,0xff
DCB 0xf0,0x00
button_ok1
DCB 0x00,0x00,0x00,0x00
DCB 0x00,0x00,0x00,0x07
DCB 0xff,0xff,0xff,0xff
DCB 0xf0,0x00,0x1f,0xff
DCB 0xff,0xff,0xff,0xfc
DCB 0x00,0x3f,0xff,0xf1
DCB 0x89,0xff,0xfe,0x00
DCB 0x7f,0xff,0xee,0xdb
DCB 0xff,0xff,0x00,0x7f
DCB 0xff,0xee,0xd7,0xff
DCB 0xff,0x00,0x7f,0xff
DCB 0xee,0xcf,0xff,0xff
DCB 0x00,0x7f,0xff,0xee
DCB 0xd7,0xff,0xff,0x00
DCB 0x7f,0xff,0xee,0xd7
DCB 0xff,0xff,0x00,0x7f
DCB 0xff,0xee,0xdb,0xff
DCB 0xff,0x00,0x3f,0xff
DCB 0xf1,0x89,0xff,0xfe
DCB 0x00,0x1f,0xff,0xff
DCB 0xff,0xff,0xfc,0x00
DCB 0x07,0xff,0xff,0xff
DCB 0xff,0xf0,0x00,0x00
DCB 0x00,0x00,0x00,0x00
DCB 0x00,0x00
button_cancle
DCB 0x07,0xff,0xff,0xff
DCB 0xff,0xf0,0x00,0x18
DCB 0x00,0x00,0x00,0x00
DCB 0x0c,0x00,0x20,0x00
DCB 0x00,0x00,0x00,0x02
DCB 0x00,0x40,0xf0,0x00
DCB 0x00,0x07,0x01,0x00
DCB 0x81,0x10,0x00,0x00
DCB 0x01,0x00,0x80,0x81
DCB 0x00,0x00,0x00,0x01
DCB 0x00,0x80,0x81,0x01
DCB 0x9e,0x1c,0x61,0x00
DCB 0x80,0x81,0x02,0x49
DCB 0x24,0x91,0x00,0x80
DCB 0x81,0x01,0xc9,0x20
DCB 0xf1,0x00,0x80,0x81
DCB 0x12,0x49,0x20,0x81
DCB 0x00,0x80,0x40,0xe1
DCB 0xfd,0x9c,0x77,0xc1
DCB 0x00,0x20,0x00,0x00
DCB 0x00,0x00,0x02,0x00
DCB 0x18,0x00,0x00,0x00
DCB 0x00,0x0c,0x00,0x07
DCB 0xff,0xff,0xff,0xff
DCB 0xf0,0x00
button_cancle1
DCB 0x00,0x00,0x00,0x00
DCB 0x00,0x00,0x00,0x07
DCB 0xff,0xff,0xff,0xff
DCB 0xf0,0x00,0x1f,0xff
DCB 0xff,0xff,0xff,0xfc
DCB 0x00,0x3f,0x0f,0xff
DCB 0xff,0xf8,0xfe,0x00
DCB 0x7e,0xef,0xff,0xff
DCB 0xfe,0xff,0x00,0x7e
DCB 0xff,0xff,0xff,0xfe
DCB 0xff,0x00,0x7e,0xfe
DCB 0x61,0xe3,0x9e,0xff
DCB 0x00,0x7e,0xfd,0xb6
DCB 0xdb,0x6e,0xff,0x00
DCB 0x7e,0xfe,0x36,0xdf
DCB 0x0e,0xff,0x00,0x7e
DCB 0xed,0xb6,0xdf,0x7e
DCB 0xff,0x00,0x3f,0x1e
DCB 0x02,0x63,0x88,0x3e
DCB 0x00,0x1f,0xff,0xff
DCB 0xff,0xff,0xfc,0x00
DCB 0x07,0xff,0xff,0xff
DCB 0xff,0xf0,0x00,0x00
DCB 0x00,0x00,0x00,0x00
DCB 0x00,0x00
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -