📄 gui_getbitmappixelcolor.txt
字号:
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\gui_getbitmappixelcolor.o --depend=.\Obj\gui_getbitmappixelcolor.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 ..\..\GUI\Core\GUI_GetBitmapPixelColor.c]
THUMB
AREA ||i.GUI_GetBitmapPixelColor||, CODE, READONLY, ALIGN=1
GUI_GetBitmapPixelColor PROC
;;;31 */
;;;32 GUI_COLOR GUI_GetBitmapPixelColor(const GUI_BITMAP GUI_UNI_PTR * pBMP, unsigned x, unsigned y) {
000000 b510 PUSH {r4,lr}
000002 4604 MOV r4,r0
;;;33 int Index = GUI_GetBitmapPixelIndex(pBMP, x, y);
000004 f7fffffe BL GUI_GetBitmapPixelIndex
;;;34 if (pBMP->pPal->HasTrans && (Index == 0)) {
000008 68e1 LDR r1,[r4,#0xc]
00000a 790a LDRB r2,[r1,#4]
00000c b11a CBZ r2,|L1.22|
00000e b910 CBNZ r0,|L1.22|
;;;35 return GUI_INVALID_COLOR;
000010 f06f4070 MVN r0,#0xf0000000
;;;36 }
;;;37 return pBMP->pPal->pPalEntries[Index];
;;;38 }
000014 bd10 POP {r4,pc}
|L1.22|
000016 6889 LDR r1,[r1,#8] ;37
000018 f8510020 LDR r0,[r1,r0,LSL #2] ;37
00001c bd10 POP {r4,pc}
;;;39
ENDP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -