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

📄 dialog_radio.txt

📁 STM32F103ZET6+UCOSII+UCGUI源码
💻 TXT
📖 第 1 页 / 共 2 页
字号:
                  |L2.146|
000092  2100              MOVS     r1,#0                 ;91
                  |L2.148|
000094  4628              MOV      r0,r5                 ;122
000096  e8bde8bd          POP      {r2-r8,lr}            ;122
00009a  f7fff7ff          B.W      GUI_EndDialog
                  |L2.158|
00009e  f9b4f9b4          LDRSH    r0,[r4,#6]            ;96
0000a2  f7fff7ff          BL       WM_GetId
0000a6  4606              MOV      r6,r0                 ;96
0000a8  f5b0f5b0          CMP      r0,#0x160             ;97
0000ac  d005              BEQ      |L2.186|
0000ae  f5a0f5a0          SUB      r0,r0,#0x100          ;97
0000b2  3861              SUBS     r0,r0,#0x61           ;97
0000b4  d001              BEQ      |L2.186|
0000b6  2801              CMP      r0,#1                 ;97
0000b8  d114              BNE      |L2.228|
                  |L2.186|
0000ba  68a0              LDR      r0,[r4,#8]            ;101
0000bc  6880              LDR      r0,[r0,#8]            ;101
0000be  2800              CMP      r0,#0                 ;102
0000c0  d010              BEQ      |L2.228|
0000c2  7a00              LDRB     r0,[r0,#8]            ;103
0000c4  2800              CMP      r0,#0                 ;103
0000c6  d00d              BEQ      |L2.228|
0000c8  4639              MOV      r1,r7                 ;104
0000ca  4628              MOV      r0,r5                 ;104
0000cc  f7fff7ff          BL       WM_GetDialogItem
0000d0  f5a6f5a6          SUB      r1,r6,#0x160          ;105
0000d4  e8bde8bd          POP      {r2-r8,lr}            ;105
0000d8  f7fff7ff          B.W      RADIO_SetValue
                  |L2.220|
0000dc  2801              CMP      r0,#1                 ;117
0000de  d0d8              BEQ      |L2.146|
0000e0  2802              CMP      r0,#2                 ;117
0000e2  d0d4              BEQ      |L2.142|
                  |L2.228|
;;;131              break;
;;;132          }
;;;133          break;
;;;134        default:
;;;135          WM_DefaultProc(pMsg);
;;;136      }
;;;137    }
0000e4  e8bde8bd          POP      {r2-r8,pc}
                  |L2.232|
0000e8  4620              MOV      r0,r4                 ;135
0000ea  e8bde8bd          POP      {r2-r8,lr}            ;135
0000ee  f7fff7ff          B.W      WM_DefaultProc
;;;138    
                          ENDP


                          AREA ||i.MainTask||, CODE, READONLY, ALIGN=2

                  MainTask PROC
;;;147    
;;;148    void MainTask(void) {
000000  b51c              PUSH     {r2-r4,lr}
;;;149      GUI_Init();
000002  f7fff7ff          BL       GUI_Init
;;;150      WM_SetCallback(WM_HBKWIN, &_cbBkWindow);
000006  f7fff7ff          BL       WM_GetDesktopWindow
00000a  490a              LDR      r1,|L3.52|
00000c  f7fff7ff          BL       WM_SetCallback
;;;151      WM_SetCreateFlags(WM_CF_MEMDEV);  /* Use memory devices on all windows to avoid flicker */
000010  2004              MOVS     r0,#4
000012  f7fff7ff          BL       WM_SetCreateFlags
000016  f44ff44f          MOV      r4,#0x3e8
                  |L3.26|
;;;152      while (1) {
;;;153        GUI_ExecDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), &_cbCallback, 0, 0, 0);
00001a  2300              MOVS     r3,#0
00001c  9300              STR      r3,[sp,#0]
00001e  4a06              LDR      r2,|L3.56|
000020  2109              MOVS     r1,#9
000022  4806              LDR      r0,|L3.60|
000024  9301              STR      r3,[sp,#4]
000026  f7fff7ff          BL       GUI_ExecDialogBox
;;;154        GUI_Delay(1000);
00002a  4620              MOV      r0,r4
00002c  f7fff7ff          BL       GUI_Delay
000030  e7f3              B        |L3.26|
;;;155      }
;;;156    }
                          ENDP

000032  0000              DCW      0x0000
                  |L3.52|
000034  00000000          DCD      _cbBkWindow
                  |L3.56|
000038  00000000          DCD      _cbCallback
                  |L3.60|
00003c  00000000          DCD      ||.constdata||

                          AREA ||.constdata||, DATA, READONLY, ALIGN=2

                  _aDialogCreate
000000  00000000          DCD      FRAMEWIN_CreateIndirect
000004  00000000          DCD      ||.conststring||
000008  0000001e          DCW      0x0000,0x001e
00000c  00460104          DCW      0x0046,0x0104
000010  00640010          DCW      0x0064,0x0010
000014  00000000          DCD      0x00000000
000018  00000000          DCD      RADIO_CreateIndirect
00001c  00000000          DCD      0x00000000
000020  01500005          DCW      0x0150,0x0005
000024  000a0000          DCW      0x000a,0x0000
000028  00000000          DCW      0x0000,0x0000
00002c  00000003          DCD      0x00000003
000030  00000000          DCD      TEXT_CreateIndirect
000034  00000014          DCD      ||.conststring||+0x14
000038  01600019          DCW      0x0160,0x0019
00003c  000a0046          DCW      0x000a,0x0046
000040  00140000          DCW      0x0014,0x0000
000044  00000000          DCD      0x00000000
000048  00000000          DCD      TEXT_CreateIndirect
00004c  0000001c          DCD      ||.conststring||+0x1c
000050  01610019          DCW      0x0161,0x0019
000054  001e0046          DCW      0x001e,0x0046
000058  00140000          DCW      0x0014,0x0000
00005c  00000000          DCD      0x00000000
000060  00000000          DCD      TEXT_CreateIndirect
000064  00000026          DCD      ||.conststring||+0x26
000068  01620019          DCW      0x0162,0x0019
00006c  00320046          DCW      0x0032,0x0046
000070  00140000          DCW      0x0014,0x0000
000074  00000000          DCD      0x00000000
000078  00000000          DCD      TEXT_CreateIndirect
00007c  00000034          DCD      ||.conststring||+0x34
000080  01630082          DCW      0x0163,0x0082
000084  00320046          DCW      0x0032,0x0046
000088  00140000          DCW      0x0014,0x0000
00008c  00000000          DCD      0x00000000
000090  00000000          DCD      EDIT_CreateIndirect
000094  0000003c          DCD      ||.conststring||+0x3c
000098  0100005f          DCW      0x0100,0x005f
00009c  002f001e          DCW      0x002f,0x001e
0000a0  00130000          DCW      0x0013,0x0000
0000a4  00000003          DCD      0x00000003
0000a8  00000000          DCD      BUTTON_CreateIndirect
0000ac  00000040          DCD      ||.conststring||+0x40
0000b0  000100b4          DCW      0x0001,0x00b4
0000b4  000a003c          DCW      0x000a,0x003c
0000b8  00140000          DCW      0x0014,0x0000
0000bc  00000000          DCD      0x00000000
0000c0  00000000          DCD      BUTTON_CreateIndirect
0000c4  00000043          DCD      ||.conststring||+0x43
0000c8  000200b4          DCW      0x0002,0x00b4
0000cc  0028003c          DCW      0x0028,0x003c
0000d0  00140000          DCW      0x0014,0x0000
0000d4  00000000          DCD      0x00000000

                          AREA ||.conststring||, DATA, READONLY, MERGE=1, STRINGS, ALIGN=0

000000  52616469          DCB      "Radi"
000004  6f206275          DCB      "o bu"
000008  74746f6e          DCB      "tton"
00000c  2073616d          DCB      " sam"
000010  706c6500          DCB      "ple\0"
000014  53757370          DCB      "Susp"
000018  656e6400          DCB      "end\0"
00001c  53687574          DCB      "Shut"
000020  20646f77          DCB      " dow"
000024  6e005265          DCB      "n\0\122\145"
000028  73746172          DCB      "star"
00002c  74206166          DCB      "t af"
000030  74657200          DCB      "ter\0"
000034  7365636f          DCB      "seco"
000038  6e647300          DCB      "nds\0"
00003c  32303000          DCB      "200\0"
000040  4f4b0043          DCB      "OK\0\103"
000044  616e6365          DCB      "ance"
000048  6c00              DCB      "l\0"

⌨️ 快捷键说明

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