keyscan.mp

来自「一个解决5个IO口扫描25个按键的解决方法,完整文件包,有参考意义,C51.」· MP 代码 · 共 68 行

MP
68
字号
NOTE: AVR Code addresses are word addresses
All other addresses (including ones in FLASH) are byte addresses

Area                               Addr   Size   Decimal Bytes (Attributes)
--------------------------------   ----   ----   ------- ----- ------------
                           idata   0026   0004 =      4. bytes (rel,con,rom)

       Addr  Global Symbol
      -----  --------------------------------
       0026  __idata_start
       002A  __idata_end

Area                               Addr   Size   Decimal Bytes (Attributes)
--------------------------------   ----   ----   ------- ----- ------------
                            text   002A   01C2 =    450. bytes (rel,con,rom)

       Addr  Global Symbol
      -----  --------------------------------
       0015  __start
       0015  __text_start
       0036  _exit
       0037  _Driver_INIT
       0038  _Delay_MS
       0045  _Insert_Timer0_OVF_ISR_Code
       005D  _Key_Scan
       009E  _Device_INIT
       00A3  HD_Support.c:Port_INIT
       00B3  HD_Support.c:Timer0_INIT
       00BA  _Timer0_OVF_ISR
       00EB  _System_INIT
       00F0  _main
       00F6  __text_end

Area                               Addr   Size   Decimal Bytes (Attributes)
--------------------------------   ----   ----   ------- ----- ------------
                            data   0060   0004 =      4. bytes (rel,con,ram)

       Addr  Global Symbol
      -----  --------------------------------
       0060  __data_start
       0062  _g_wSystemTimer
       0064  __data_end

Area                               Start  End    Decimal Bytes (Attributes)
--------------------------------   ----   ----   ------- ----- ------------
                          vector   0000   0014 =     20. bytes (abs,ovr,rom)

Files Linked      [ module(s) ]

c:\iccv7avr\lib\crtAVR.o	[ crtavr.s ]
EX_Support.o	[ EX_Support.c ]
HD_Support.o	[ HD_Support.c ]
PF_Config.o	[ PF_Config.c ]
System.o	[ System.c ]
<library>	

User Global Definitions

ram_end = 0x45f
hwstk_size = 0x20

User Base Address Definitions

func_lit = 0x26
data = 0x60
eeprom:0.512

⌨️ 快捷键说明

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