93C46.LST
上传用户:comjoincn
上传日期:2022-07-25
资源大小:11k
文件大小:20k
源码类别:

汇编语言

开发平台:

Visual C++

  1. A51 MACRO ASSEMBLER  93C46                                                                06/27/2005 10:44:21 PAGE     1
  2. MACRO ASSEMBLER A51 V6.12
  3. OBJECT MODULE PLACED IN .93C46.OBJ
  4. ASSEMBLER INVOKED BY: C:KeilC51BINA51.EXE .93C46.asm SET(SMALL) DEBUG EP
  5. LOC  OBJ            LINE     SOURCE
  6.                        1     
  7.                        2     
  8.                        3             NAME    WL006
  9.                        4     
  10.                        5     CODE_SEG        SEGMENT CODE 
  11.                        6     DATA_SEG        SEGMENT DATA
  12.                        7     STACK_SEG       SEGMENT IDATA
  13.                        8     
  14. ----                   9             RSEG  DATA_SEG
  15.                       10             
  16. 0000                  11     INDATA:         DS      1
  17. 0001                  12     ADDR:           DS      1
  18.                       13     
  19. ----                  14             RSEG    STACK_SEG
  20. 0000                  15     STACK:          DS      20
  21.                       16     
  22.                       17     
  23.   00B4                18     CS      BIT     P3.4
  24.   00B3                19     SK      BIT     P3.3
  25.   00B5                20     DI      BIT     P3.5
  26.   00B6                21     DO      BIT     P3.6
  27.                       22     
  28.                       23     ;===============================================================================
  29. ----                  24             CSEG    AT      0000H
  30. 0000 020000   F       25             JMP     MAIN
  31.                       26     
  32.                       27     ;===============================================================================
  33. ----                  28             RSEG  CODE_SEG
  34. 0000                  29     MAIN:
  35.                       30             USING   0
  36. 0000 758100   F       31             MOV     SP,#(STACK-1)           ; 设置堆栈
  37.                       32             
  38. 0003 C2B4             33             CLR     CS                      ; 初始化端口
  39. 0005 C2B3             34             CLR     SK
  40. 0007 D2B5             35             SETB    DI
  41. 0009 D2B6             36             SETB    DO
  42.                       37     
  43. 000B 120000   F       38             LCALL   EWEN                    ; 使能写入操作
  44. 000E 120000   F       39             LCALL   ERASE                   ; 擦橙