📄 ky_hold61.lst
字号:
################################################################################
# #
# IAR Systems Z80/64180 Assembler V3.03A/WIN 21/May/107 11:28:54 #
# #
# Target option = z80 #
# Source file = d:\case_i_d913f\drv\ky_hard\ky_hold61.msa #
# List file = d:\case_i_d913f\drv\ky_hard\ky_hard\list\ky_hold61.lst#
# Object file = d:\case_i_d913f\drv\ky_hard\ky_hard\obj\ky_hold61.r01#
# Command line = -v0 -uu #
# -OD:\case_i_d913f\drv\KY_HARD\KY_HARD\Obj\ -s+ #
# -M<> -w+ -r #
# -LD:\case_i_d913f\drv\KY_HARD\KY_HARD\List\ -t8 #
# -Id:\sdk_i_913f\inc\ -Id:\case_i_d913f\inc\ #
# d:\case_i_d913f\drv\ky_hard\KY_Hold61.msa #
# #
# (c) Copyright IAR Systems 1996 #
################################################################################
1 000000 /***************************************************
**************
2 000000 ** key board interrupt **
3 000000 ** write by jfwoo & Gongee **
4 000000 ** 2002-6-12 **
5 000000 ** (c) Copyright Actions Co,Ld. **
6 000000 ** **
7 000000 ** revision history 1.0 2002-6-12 **
8 000000 ** revision history 2.0 2002-7-15 **
9 000000 ** revision history 3.0 2002-8-12 **
10 000000 ***************************************************
**************/
11 000000 /* 说明:
12 000000 **
13 000000 */
14 000000 #include "KY_HARD.h"
15 000000
16 000000
17 000000
18 000000 module keyholdcheck
19 000000
20 000000 public sKY_HoldCheck
21 000000 extern TheLastHold
22 000000 rseg BAC_IE
23 000000 /*
24 000000 ****************************************************
****************************
25 000000 * sKY_HoldCheck
26 000000 *
27 000000 * Description :enable and init keyboard scan
28 000000 *
29 000000 * Arguments : void
30 000000 *
31 000000 * Returns : void
32 000000 *
33 000000 * Notes :
34 000000 *
35 000000 ****************************************************
****************************
36 000000 */
37 000000 sKY_HoldCheck:
38 000000 //in a,(0f2h) //gpio_b2用作检测HOLD
39 000000 //and 0x04
40 000000 AF xor a
41 000001 32.... ld (TheLastHold),a
42 000004 C9 ret
43 000005 end
##############################
# CRC:1BAE #
# Errors: 0 #
# Warnings: 0 #
# Bytes: 5 #
##############################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -