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

📄 rf_var.asm

📁 Holteck HT82M9XX的USB Mouse的Firmware汇编代码
💻 ASM
字号:


comdata                 .section  common        'data'
;for main temp
temp0                   db              ?
temp1                   db              ?
temp2                   db              ?
temp3                   db              ?
temp4                   db              ?
temp5                   db              ?
temp6                   db              ?


data1                   .section                'data'
;for int temp
int_temp1               db              ?
int_temp2               db              ?

;for fifo access
fifo_sendlen    db              ?
FIFO_out1               label   byte
FIFO_Type               db              ?
FIFO_out2               label   byte
FIFO_Request    db              ?
FIFO_out3               label   byte
FIFO_wValueL    db              ?
FIFO_out4               label   byte
FIFO_wValueH    db              ?
FIFO_out5               label   byte
FIFO_wIndexL    db              ?
FIFO_out6               label   byte
FIFO_wIndexH    db              ?
FIFO_out7               label   byte
FIFO_wLengthL   db              ?
FIFO_out8               label   byte
FIFO_wLengthH   db              ?


;for usb system
wait_time               db              ?                               ;for wakeup used
wait_time_h             db              ?
stall                   db              ?
CMD_ADDR                db              ?                               ;store the USB address
ReportKBTime            db              ?                               ;store idle time of the KB
ReportMouseTime         db              ?                               ;store idle time of the mouse
TempKBTime              db              ?                               ;store the present time of KB after the last data out
TempmouseTime           db              ?                               ;store the present time of mouse after the last data out
TempKBTime_L            db              ?                               ;store the present time of KB after the last data out
TempmouseTime_L         db              ?                               ;store the present time of mouse after the last data out
ReturnAddr              db              ?                               ;the return address of the description

;AltkbSetting           db              ?
;altmousesetting        db              ?
TableLength             db              ?                               ;for description
lengthh                 db              ?
lengthl                 db              ?
FIFO_TBLP               db              ?
des_count               db              ?

bcmd_index              dbit
baddr_state             dbit
bRmtWakeup              dbit
brd_h_table             dbit
btime_out_KB            dbit
btime_out_ms            dbit
;bwakeup_flag           dbit
bFLAG_RsqF              dbit

bFLAG_SndFC             dbit
bFLAG_HvRpt             dbit
bFLAG_Setup             dbit
bFLAG_FIFO_REDY         dbit
bFLAG_AdrF              dbit
bsetup_flag             dbit
bAltkbProtocol          dbit
bAltmouseProtocol       dbit

bcfgvalue               dbit
bwait_setup             dbit
bhas_data_out_previous  dbit
bhas_data_out_previous1 dbit
bhas_data_out_previous2 dbit
breseume_s              dbit    
;-------------------------------------------------------------------------------

public                  fifo_sendlen
public                  FIFO_out1
public                  FIFO_Type
public                  FIFO_out2       
PUBLIC                  FIFO_Request
public                  FIFO_out3       
PUBLIC                  FIFO_wValueL 
public                  FIFO_out4       
PUBLIC                  FIFO_wValueH    
public                  FIFO_out5       
PUBLIC                  FIFO_wIndexL    
public                  FIFO_out6       
PUBLIC                  FIFO_wIndexH    
public                  FIFO_out7       
PUBLIC                  FIFO_wLengthL   
public                  FIFO_out8       
PUBLIC                  FIFO_wLengthH   


public                  stall
public                  CMD_ADDR
public                  ReportKBTime
public                  ReportMouseTime
public                  TempKBTime
public                  TempmouseTime
public                  TempKBTime_L
public                  TempmouseTime_L
public                  ReturnAddr
;public                 AltkbSetting
;public                 AltmouseSetting
public                  TableLength
public                  lengthh
public                  lengthl
public                  FIFO_TBLP
public                  des_count

public                  int_temp1
public                  int_temp2

public                  temp0
public                  temp1
public                  temp2
public                  temp3
public                  temp4
public                  temp5
public                  temp6

public                  bcmd_index              
public                  baddr_state             

public                  bRmtWakeup              
public                  brd_h_table             
public                  btime_out_KB    
;public                 bwakeup_flag    

public                  bFLAG_RsqF              
public                  bFLAG_SndFC             
public                  bFLAG_HvRpt             
public                  bFLAG_Setup
public                  bFLAG_FIFO_REDY 
public                  bFLAG_AdrF
public                  bsetup_flag
public                  bwait_setup

public                  bAltkbProtocol
public                  bAltmouseProtocol
public                  bcfgvalue
public                  bhas_data_out_previous
public                  bhas_data_out_previous1
public                  bhas_data_out_previous2
public                  breseume_s

END

⌨️ 快捷键说明

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