⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guistream.txt

📁 STM32F103ZET6+UCOSII+UCGUI源码
💻 TXT
字号:
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\guistream.o --depend=.\Obj\guistream.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\GUIStream.c]
                          THUMB

                          AREA ||i.GUI_DrawStreamedBitmap||, CODE, READONLY, ALIGN=1

                  GUI_DrawStreamedBitmap PROC
;;;32     */
;;;33     void GUI_DrawStreamedBitmap(const GUI_BITMAP_STREAM *pBitmapHeader, int x, int y) {
000000  b570              PUSH     {r4-r6,lr}
000002  b088              SUB      sp,sp,#0x20
000004  4604              MOV      r4,r0
000006  460d              MOV      r5,r1
000008  4616              MOV      r6,r2
;;;34       GUI_BITMAP Bitmap = {0};
00000a  2114              MOVS     r1,#0x14
00000c  a803              ADD      r0,sp,#0xc
00000e  f7fffffe          BL       __aeabi_memclr4
;;;35       GUI_LOGPALETTE Palette;
;;;36       Bitmap.BitsPerPixel = pBitmapHeader->BitsPerPixel;
000012  8960              LDRH     r0,[r4,#0xa]
000014  f8ad0012          STRH     r0,[sp,#0x12]
;;;37       Bitmap.BytesPerLine = pBitmapHeader->BytesPerLine;
000018  8920              LDRH     r0,[r4,#8]
00001a  f8ad0010          STRH     r0,[sp,#0x10]
;;;38       Bitmap.pData        = ((const U8*)pBitmapHeader)+16+4*pBitmapHeader->NumColors;
00001e  89a0              LDRH     r0,[r4,#0xc]
;;;39       Bitmap.pPal         = &Palette;
000020  f8cdd018          STR      sp,[sp,#0x18]
000024  eb040080          ADD      r0,r4,r0,LSL #2       ;38
000028  3010              ADDS     r0,r0,#0x10           ;38
00002a  9005              STR      r0,[sp,#0x14]
;;;40       Bitmap.XSize        = pBitmapHeader->XSize;
00002c  88a0              LDRH     r0,[r4,#4]
00002e  f8ad000c          STRH     r0,[sp,#0xc]
;;;41       Bitmap.YSize        = pBitmapHeader->YSize;
000032  88e0              LDRH     r0,[r4,#6]
000034  f8ad000e          STRH     r0,[sp,#0xe]
;;;42       Palette.HasTrans    = pBitmapHeader->HasTrans;
000038  89e0              LDRH     r0,[r4,#0xe]
00003a  f88d0004          STRB     r0,[sp,#4]
;;;43       Palette.NumEntries  = pBitmapHeader->NumColors;
00003e  89a0              LDRH     r0,[r4,#0xc]
;;;44       Palette.pPalEntries = (const LCD_COLOR*)((const U8*)pBitmapHeader+16);
000040  3410              ADDS     r4,r4,#0x10
;;;45       GUI_DrawBitmap(&Bitmap, x, y);
000042  9000              STR      r0,[sp,#0]
000044  4632              MOV      r2,r6
000046  4629              MOV      r1,r5
000048  9402              STR      r4,[sp,#8]
00004a  a803              ADD      r0,sp,#0xc
00004c  f7fffffe          BL       GUI_DrawBitmap
;;;46     }
000050  b008              ADD      sp,sp,#0x20
000052  bd70              POP      {r4-r6,pc}
;;;47     
                          ENDP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -