📄 guidemo_bitmap.txt
字号:
; generated by ARM/Thumb C/C++ Compiler with , RVCT3.1 [Build 934] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\guidemo_bitmap.o --depend=.\Obj\guidemo_bitmap.d --device=DARMSTM --apcs=interwork -O3 -I..\..\include -I..\..\..\FWLib\library\inc -I..\..\..\USBLib\library\inc -I..\..\Config -I..\..\GUI\Core -I..\..\GUI\Font -I..\..\GUI\ConvertColor -I..\..\GUI\AntiAlias -I..\..\GUI\ConvertMono -I..\..\GUI\JPEG -I..\..\GUI\MemDev -I..\..\GUI\MultiLayer -I..\..\GUI\Widget -I..\..\GUI\WM -IC:\Keil\ARM\INC\ST\STM32F10x -D__MICROLIB ..\..\source\GUIDEMO_Bitmap.c]
THUMB
AREA ||i._BitmapDemo||, CODE, READONLY, ALIGN=2
_BitmapDemo PROC
;;;1054 */
;;;1055 static void _BitmapDemo(void) {
000000 e92de92d PUSH {r3-r9,lr}
;;;1056 int ix, iy;
;;;1057 GUI_DrawBitmap(&_bmLadyBug, 20, 50);
000004 2232 MOVS r2,#0x32
000006 2114 MOVS r1,#0x14
000008 4832 LDR r0,|L1.212|
00000a f7fff7ff BL GUI_DrawBitmap
;;;1058 GUI_SetFont(&GUI_Font13_1);
00000e 4832 LDR r0,|L1.216|
000010 f7fff7ff BL GUI_SetFont
;;;1059 GUI_DispStringAt("RLE Compressed bitmaps", 8, 10);
000014 220a MOVS r2,#0xa
000016 2108 MOVS r1,#8
000018 a030 ADR r0,|L1.220|
00001a f7fff7ff BL GUI_DispStringAt
;;;1060 GUIDEMO_Wait();
00001e f7fff7ff BL GUIDEMO_Wait
;;;1061 GUI_Clear();
000022 f7fff7ff BL GUI_Clear
;;;1062 GUI_DispStringAt("1/2/4/8 bpp bitmaps", 8, 10);
000026 220a MOVS r2,#0xa
000028 2108 MOVS r1,#8
00002a a032 ADR r0,|L1.244|
00002c f7fff7ff BL GUI_DispStringAt
;;;1063 GUI_DrawBitmap(&GUIDEMO_bm4bpp, 20, 50);
000030 2232 MOVS r2,#0x32
000032 2114 MOVS r1,#0x14
000034 4834 LDR r0,|L1.264|
000036 f7fff7ff BL GUI_DrawBitmap
;;;1064 GUIDEMO_Delay(4000);
00003a f44ff44f MOV r0,#0xfa0
00003e f7fff7ff BL GUIDEMO_Delay
;;;1065 GUIDEMO_NotifyStartNext();
000042 f7fff7ff BL GUIDEMO_NotifyStartNext
;;;1066 /* Tile display with image */
;;;1067 for (ix = 0; ix < LCD_XSIZE / GUIDEMO_bm4bpp.XSize + 1; ix++) {
000046 4e30 LDR r6,|L1.264|
000048 20f0 MOVS r0,#0xf0
00004a 8871 LDRH r1,[r6,#2]
00004c 2500 MOVS r5,#0
00004e fbb0fbb0 UDIV r7,r0,r1
000052 8831 LDRH r1,[r6,#0]
000054 f44ff44f MOV r0,#0x140
000058 fbb0fbb0 UDIV r8,r0,r1
00005c 1c7f ADDS r7,r7,#1
00005e f108f108 ADD r8,r8,#1
000062 e00f B |L1.132|
|L1.100|
;;;1068 for (iy = 0; iy < LCD_YSIZE / GUIDEMO_bm4bpp.YSize + 1; iy++) {
000064 f8b6f8b6 LDRH r9,[r6,#0]
000068 2400 MOVS r4,#0
00006a fb09fb09 MUL r9,r9,r5
00006e e006 B |L1.126|
|L1.112|
;;;1069 GUI_DrawBitmap(&GUIDEMO_bm4bpp,
000070 8872 LDRH r2,[r6,#2] ; GUIDEMO_bm4bpp
000072 4649 MOV r1,r9
000074 4362 MULS r2,r4,r2
000076 4824 LDR r0,|L1.264|
000078 f7fff7ff BL GUI_DrawBitmap
00007c 1c64 ADDS r4,r4,#1 ;1068
|L1.126|
00007e 42a7 CMP r7,r4 ;1068
000080 dcf6 BGT |L1.112|
000082 1c6d ADDS r5,r5,#1 ;1067
|L1.132|
000084 45a8 CMP r8,r5 ;1067
000086 dced BGT |L1.100|
;;;1070 GUIDEMO_bm4bpp.XSize * ix,
;;;1071 GUIDEMO_bm4bpp.YSize * iy);
;;;1072 }
;;;1073 }
;;;1074 GUIDEMO_Delay(2000);
000088 f44ff44f MOV r0,#0x7d0
00008c f7fff7ff BL GUIDEMO_Delay
;;;1075 GUIDEMO_NotifyStartNext();
000090 f7fff7ff BL GUIDEMO_NotifyStartNext
;;;1076 GUIDEMO_ShowInfo("Bitmaps may also be\nmagnified and rotated");
000094 a01d ADR r0,|L1.268|
000096 f7fff7ff BL GUIDEMO_ShowInfo
;;;1077 GUI_SetTextMode(GUI_TM_TRANS);
00009a 2002 MOVS r0,#2
00009c f7fff7ff BL GUI_SetTextMode
;;;1078 GUI_SetFont(&GUI_Font16_1);
0000a0 4825 LDR r0,|L1.312|
0000a2 f7fff7ff BL GUI_SetFont
0000a6 8830 LDRH r0,[r6,#0] ; GUIDEMO_bm4bpp
0000a8 2303 MOVS r3,#3
0000aa 0840 LSRS r0,r0,#1
0000ac eba0eba0 SUB r1,r0,r0,LSL #2
0000b0 8870 LDRH r0,[r6,#2] ; GUIDEMO_bm4bpp
0000b2 24a0 MOVS r4,#0xa0
0000b4 0840 LSRS r0,r0,#1
0000b6 eba0eba0 SUB r2,r0,r0,LSL #2
0000ba 31a0 ADDS r1,r1,#0xa0
0000bc 3278 ADDS r2,r2,#0x78
0000be 4812 LDR r0,|L1.264|
0000c0 9300 STR r3,[sp,#0]
0000c2 f7fff7ff BL GUI_DrawBitmapMag
0000c6 4621 MOV r1,r4
0000c8 e8bde8bd POP {r3-r9,lr}
0000cc 2264 MOVS r2,#0x64
0000ce a01b ADR r0,|L1.316|
0000d0 f7fff7ff B.W GUI_DispStringHCenterAt
;;;1079 _ShowMagnifiedBitmap();
;;;1080 }
;;;1081
ENDP
|L1.212|
0000d4 00000000 DCD ||.constdata||
|L1.216|
0000d8 00000000 DCD GUI_Font13_1
|L1.220|
0000dc 524c4520 DCB "RLE "
0000e0 436f6d70 DCB "Comp"
0000e4 72657373 DCB "ress"
0000e8 65642062 DCB "ed b"
0000ec 69746d61 DCB "itma"
0000f0 70730000 DCB "ps\0\0"
|L1.244|
0000f4 312f322f DCB "1/2/"
0000f8 342f3820 DCB "4/8 "
0000fc 62707020 DCB "bpp "
000100 6269746d DCB "bitm"
000104 61707300 DCB "aps\0"
|L1.264|
000108 00000000 DCD GUIDEMO_bm4bpp
|L1.268|
00010c 4269746d DCB "Bitm"
000110 61707320 DCB "aps "
000114 6d617920 DCB "may "
000118 616c736f DCB "also"
00011c 2062650a DCB " be\n"
000120 6d61676e DCB "magn"
000124 69666965 DCB "ifie"
000128 6420616e DCB "d an"
00012c 6420726f DCB "d ro"
000130 74617465 DCB "tate"
000134 64000000 DCB "d\0\0\0"
|L1.312|
000138 00000000 DCD GUI_Font16_1
|L1.316|
00013c 4269746d DCB "Bitm"
000140 61707320 DCB "aps "
000144 63616e20 DCB "can "
000148 6265206d DCB "be m"
00014c 61676e69 DCB "agni"
000150 66696564 DCB "fied"
000154 2e2e2e00 DCB "...\0"
AREA ||i.GUIDEMO_Bitmap||, CODE, READONLY, ALIGN=2
GUIDEMO_Bitmap PROC
;;;1118 */
;;;1119 void GUIDEMO_Bitmap(void) {
000000 b510 PUSH {r4,lr}
;;;1120 GUIDEMO_ShowIntro("Bitmaps", "Showing\ndifferent bitmaps with\nand without compression");
000002 a108 ADR r1,|L2.36|
000004 a015 ADR r0,|L2.92|
000006 f7fff7ff BL GUIDEMO_ShowIntro
;;;1121 GUIDEMO_SetBkColor(GUI_BLUE);
00000a f44ff44f MOV r0,#0xff0000
00000e f7fff7ff BL GUIDEMO_SetBkColor
;;;1122 GUI_Clear();
000012 f7fff7ff BL GUI_Clear
;;;1123 _BitmapDemo();
000016 f7fff7ff BL _BitmapDemo
;;;1124 GUIDEMO_Wait();
00001a e8bde8bd POP {r4,lr}
00001e f7fff7ff B.W GUIDEMO_Wait
;;;1125 }
ENDP
000022 0000 DCW 0x0000
|L2.36|
000024 53686f77 DCB "Show"
000028 696e670a DCB "ing\n"
00002c 64696666 DCB "diff"
000030 6572656e DCB "eren"
000034 74206269 DCB "t bi"
000038 746d6170 DCB "tmap"
00003c 73207769 DCB "s wi"
000040 74680a61 DCB "th\n\141"
000044 6e642077 DCB "nd w"
000048 6974686f DCB "itho"
00004c 75742063 DCB "ut c"
000050 6f6d7072 DCB "ompr"
000054 65737369 DCB "essi"
000058 6f6e0000 DCB "on\0\0"
|L2.92|
00005c 4269746d DCB "Bitm"
000060 61707300 DCB "aps\0"
AREA ||.constdata||, DATA, READONLY, ALIGN=2
_bmLadyBug
000000 00a000a1 DCW 0x00a0,0x00a1
000004 00280000 DCW 0x0028,0x0000
000008 00000000 DCD _acLadyBug
00000c 00000000 DCD _PalLadyBug
000010 00000000 DCD GUI_BitmapMethodsRLE4
AREA |area_number.4|, DATA, READONLY, ALIGN=2
EXPORTAS |area_number.4|, ||.constdata||
_ColorsLadyBug
000000 00ffffff DCD 0x00ffffff
000004 00000000 DCD 0x00000000
000008 000000ff DCD 0x000000ff
00000c 00ffcccc DCD 0x00ffcccc
AREA |area_number.5|, DATA, READONLY, ALIGN=2
EXPORTAS |area_number.5|, ||.constdata||
_PalLadyBug
000000 00000004 DCD 0x00000004
000004 00000000 DCB 0x00,0x00,0x00,0x00
000008 00000000 DCD _ColorsLadyBug
AREA |area_number.6|, DATA, READONLY, ALIGN=0
EXPORTAS |area_number.6|, ||.constdata||
_acLadyBug
000000 38000701 DCB 0x38,0x00,0x07,0x01
000004 98000901 DCB 0x98,0x00,0x09,0x01
000008 96000a01 DCB 0x96,0x00,0x0a,0x01
00000c 95000c01 DCB 0x95,0x00,0x0c,0x01
000010 94000c01 DCB 0x94,0x00,0x0c,0x01
000014 93000d01 DCB 0x93,0x00,0x0d,0x01
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -