variable.lst
来自「ST7 Software LCD driver」· LST 代码 · 共 131 行
LST
131 行
METAi Assembler 6.02 (C)1987-91 Crash Barrier Tue Jan 20 19:34:04 2004
Page 1 "variable.asm"
D:\usr\jatin\AN\Code\LCD_SW\LCD_SW\LCD_4COM\variable.asm
1 st7/
2
3 ;*************************************************************
;***********
4 ; TITLE: VARIABLE.ASM
5 ; DESCRIPTION: Software LCD driver
6 ;
7 ;
8 ;*************************************************************
;***********
9
10 0000 TITLE "variable.asm"
11 ; this title will appear on
;each
12 ; page of the listing file
13 0000 MOTOROLA ; this directive forces the
;Motorola
14 ; format for the assembly
;(default)
15 ;*************************************************************
;**********
16
17
18
19 ;*************************************************************
;**********
20 ; Variables, constants defined and referenced locally
21 ; You can define your own values for a local reference
;here
22 ;*************************************************************
;**********
23
24 ;*************************************************************
;***********
25 ; Public variables, constants (defined here)
26 ;*************************************************************
;***********
27 ;variables
28
29 0000 BYTES
30
31 segment 'ram0'
32 0080 .cpt1 DS.B 1
33 0081 .cpt2 DS.B 1
34 0082 .cpt3 DS.B 1
35
36 ;*******LCD control register*******
37 ; one LCD period is divided in 4 time segments: oc1_1, oc2_1,
;oc1_2, oc2_2. The lcdcr first
38 ; bit is used to point the next segment. Getting an ouput
;compare 1 interrupt the program has
39 ; to choose between oc1_1 and oc1_2. If lcdcr=0 oc1_1 will be
;choosen (oc1_2 if lcdcr=1).
40 ; Getting an ouput compare 1 interrupt the program has to
;choose between oc1_1 and oc1_2.
41 ; If lcdcr=0 oc1_1 will be choosen (oc1_2 if lcdcr=1).
42
METAi Assembler 6.02 (C)1987-91 Crash Barrier Tue Jan 20 19:34:04 2004
Page 2 "variable.asm"
D:\usr\jatin\AN\Code\LCD_SW\LCD_SW\LCD_4COM\variable.asm
43 0083 .lcdcr DS.B 1
44 0084 .segA1 DS.B 1
45 0085 .segA2 DS.B 1
46 0086 .segA3 DS.B 1
47 0087 .segA4 DS.B 1
48 0088 .segB1 DS.B 1
49 0089 .segB2 DS.B 1
50 008A .segB3 DS.B 1
51 008B .segB4 DS.B 1
52 008C .segD1 DS.B 1
53 008D .segD2 DS.B 1
54 008E .segD3 DS.B 1
55 008F .segD4 DS.B 1
56 0090 .segF1 DS.B 1
57 0091 .segF2 DS.B 1
58 0092 .segF3 DS.B 1
59 0093 .segF4 DS.B 1
60 0094 .segE1 DS.B 1
61 0095 .segE2 DS.B 1
62 0096 .segE3 DS.B 1
63 0097 .segE4 DS.B 1
64
65 0098 .var DS.B 1
66
67 0099 WORDS
68
69
70 0099 END
METAi Assembler 6.02 (C)1987-91 Crash Barrier Tue Jan 20 19:34:04 2004
Page 3 "variable.asm"
D:\usr\jatin\AN\Code\LCD_SW\LCD_SW\LCD_4COM\variable.asm
Symbol Name Value Call Type Scope Rel. Line Privacy Segment Size Bytes File
cpt1 80 no BYTE Internal ABS 32 public bss 1 1 -
cpt2 81 no BYTE Internal ABS 33 public bss 1 1 -
cpt3 82 no BYTE Internal ABS 34 public bss 1 1 -
lcdcr 83 no BYTE Internal ABS 43 public bss 1 1 -
segA1 84 no BYTE Internal ABS 44 public bss 1 1 -
segA2 85 no BYTE Internal ABS 45 public bss 1 1 -
segA3 86 no BYTE Internal ABS 46 public bss 1 1 -
segA4 87 no BYTE Internal ABS 47 public bss 1 1 -
segB1 88 no BYTE Internal ABS 48 public bss 1 1 -
segB2 89 no BYTE Internal ABS 49 public bss 1 1 -
segB3 8A no BYTE Internal ABS 50 public bss 1 1 -
segB4 8B no BYTE Internal ABS 51 public bss 1 1 -
segD1 8C no BYTE Internal ABS 52 public bss 1 1 -
segD2 8D no BYTE Internal ABS 53 public bss 1 1 -
segD3 8E no BYTE Internal ABS 54 public bss 1 1 -
segD4 8F no BYTE Internal ABS 55 public bss 1 1 -
segF1 90 no BYTE Internal ABS 56 public bss 1 1 -
segF2 91 no BYTE Internal ABS 57 public bss 1 1 -
segF3 92 no BYTE Internal ABS 58 public bss 1 1 -
segF4 93 no BYTE Internal ABS 59 public bss 1 1 -
segE1 94 no BYTE Internal ABS 60 public bss 1 1 -
segE2 95 no BYTE Internal ABS 61 public bss 1 1 -
segE3 96 no BYTE Internal ABS 62 public bss 1 1 -
segE4 97 no BYTE Internal ABS 63 public bss 1 1 -
var 98 no BYTE Internal ABS 65 public bss 1 1 -
25 labels
No errors on assembly of 'D:\usr\jatin\AN\Code\LCD_SW\LCD_SW\LCD_4COM\variable.asm'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?