initial commit

This commit is contained in:
Haveachin 2019-01-17 11:08:32 +01:00
commit 4f8de94892
12 changed files with 1454 additions and 0 deletions

55
luefterstrg.adf Normal file
View file

@ -0,0 +1,55 @@
# Assembler debug file for MCU 8051 IDE v1.4.7
# Used assembler: MCU 8051 IDE
# Date: 01/17/2019
1DF369675D2093197BB7EFCAC4026F07 "luefterstrg.asm"
0 11 0 128 90
0 14 3 128 16
0 17 19 128 19
0 20 21 210 168
0 21 23 229 144
0 22 25 180 240 2
0 23 28 128 7
0 25 30 35
0 26 31 4
0 27 32 245 144
0 28 34 18 0 75
0 30 37 194 168
0 31 39 50
0 34 40 210 170
0 35 42 229 144
0 36 44 180 254 2
0 37 47 128 244
0 39 49 20
0 40 50 3
0 41 51 245 144
0 42 53 18 0 75
0 44 56 194 170
0 45 58 50
0 48 59 210 136
0 49 61 210 138
0 50 63 210 168
0 51 65 210 170
0 52 67 194 137
0 53 69 194 139
0 54 71 117 144 255
0 55 74 34
0 58 75 120 250
0 59 77 121 198
0 60 79 122 5
0 62 81 216 254
0 63 83 120 250
0 64 85 217 250
0 65 87 121 199
0 66 89 218 246
0 67 91 34
0 70 92 18 0 59
0 72 95 32 165 253
0 73 98 117 144 254
0 74 101 210 175
0 75 103 18 0 75
0 77 106 48 165 253
0 79 109 32 165 253
0 80 112 117 144 255
0 82 115 18 0 75
0 84 118 48 165 253
0 85 121 128 228

51
luefterstrg.adf~ Normal file
View file

@ -0,0 +1,51 @@
# Assembler debug file for MCU 8051 IDE v1.4.7
# Used assembler: MCU 8051 IDE
# Date: 01/17/2019
8CA566DB9B601C93B117DAA61CB7FFA9 "luefterstrg.asm"
0 11 0 128 82
0 14 3 128 16
0 17 19 128 15
0 21 21 229 144
0 22 23 180 240 2
0 23 26 128 7
0 25 28 35
0 26 29 4
0 27 30 245 144
0 28 32 18 0 67
0 31 35 50
0 35 36 229 144
0 36 38 180 254 2
0 37 41 128 248
0 39 43 20
0 40 44 3
0 41 45 245 144
0 42 47 18 0 67
0 45 50 50
0 48 51 210 136
0 49 53 210 138
0 50 55 210 168
0 51 57 210 170
0 52 59 194 137
0 53 61 194 139
0 54 63 117 144 255
0 55 66 34
0 58 67 120 250
0 59 69 121 198
0 60 71 122 5
0 62 73 216 254
0 63 75 120 250
0 64 77 217 250
0 65 79 121 199
0 66 81 218 246
0 67 83 34
0 70 84 18 0 51
0 72 87 32 165 253
0 73 90 117 144 254
0 74 93 210 175
0 75 95 18 0 67
0 77 98 48 165 253
0 79 101 32 165 253
0 80 104 117 144 255
0 82 107 18 0 67
0 84 110 48 165 253
0 85 113 128 228

86
luefterstrg.asm Normal file
View file

@ -0,0 +1,86 @@
; luefterstrg.asm
; Name: Lueftersteuerung
; Autor: Hendrik J. Schlehlein
; Datum: 10.01.2019
S EQU P2.5
Tv EQU P3.2
Tr EQU P3.3
ORG 0
SJMP main
ORG 3
SJMP SR_hoch
ORG 13h
SJMP SR_runter
SR_hoch:
SETB EX0
MOV A, P1
CJNE A,#240, hoch
SJMP return0
hoch:
RL A
INC A
MOV P1, A
LCALL UP_warte250ms
return0:
CLR EX0
RETI
SR_runter:
SETB EX1
MOV A, P1
CJNE A,#254, runter
SJMP return0
runter:
DEC A
RR A
MOV P1, A
LCALL UP_warte250ms
return1:
CLR EX1
RETI
UP_init:
SETB IT0
SETB IT1
SETB EX0
SETB EX1
CLR IE0
CLR IE1
MOV P1,#255
RET
UP_warte250ms:
MOV R0, #250;2
MOV R1, #198;2
MOV R2, #5;2
while1:
DJNZ R0, while1;2
MOV R0, #250
DJNZ R1, while1
MOV R1, #199
DJNZ R2, while1
RET;2
main:
LCALL UP_init
while0:
JB S, while0
MOV P1,#254
SETB EA
LCALL UP_warte250ms
while2:
JNB S, while2
while3:
JB S, while3
MOV P1,#255
;CLR EA
LCALL UP_warte250ms
while4:
JNB S, while4
SJMP while0
END

86
luefterstrg.asm~ Normal file
View file

@ -0,0 +1,86 @@
; luefterstrg.asm
; Name: Lueftersteuerung
; Autor: Hendrik J. Schlehlein
; Datum: 10.01.2019
S EQU P2.5
Tv EQU P3.2
Tr EQU P3.3
ORG 0
SJMP main
ORG 3
SJMP SR_hoch
ORG 13h
SJMP SR_runter
SR_hoch:
SETB EX0
MOV A, P1
CJNE A,#240, hoch
SJMP return0
hoch:
RL A
INC A
MOV P1, A
LCALL UP_warte250ms
return0:
CLR EX0
RETI
SR_runter:
SETB EX1
MOV A, P1
CJNE A,#254, runter
SJMP return0
runter:
DEC A
RR A
MOV P1, A
LCALL UP_warte250ms
return1:
CLR EX1
RETI
UP_init:
SETB IT0
SETB IT1
SETB EX0
SETB EX1
CLR IE0
CLR IE1
MOV P1,#255
RET
UP_warte250ms:
MOV R0, #250;2
MOV R1, #198;2
MOV R2, #5;2
while1:
DJNZ R0, while1;2
MOV R0, #250
DJNZ R1, while1
MOV R1, #199
DJNZ R2, while1
RET;2
main:
LCALL UP_init
while0:
JB S, while0
MOV P1,#254
SETB EA
LCALL UP_warte250ms
while2:
JNB S, while2
while3:
JB S, while3
MOV P1,#255
;CLR EA
LCALL UP_warte250ms
while4:
JNB S, while4
SJMP while0
END

BIN
luefterstrg.bin Normal file

Binary file not shown.

BIN
luefterstrg.bin~ Normal file

Binary file not shown.

10
luefterstrg.hex Normal file
View file

@ -0,0 +1,10 @@
:02000000805A24
:0200030080106B
:0F0013008013D2A8E590B4F00280072304F59083
:1000220012004BC2A832D2AAE590B4FE0280F414A8
:0F00320003F59012004BC2AA32D288D28AD2A80C
:10004100D2AAC289C28B7590FF2278FA79C67A0545
:0E005100D8FE78FAD9FA79C7DAF62212003B07
:0E005F0020A5FD7590FED2AF12004B30A5FD1E
:0E006D0020A5FD7590FF12004B30A5FD80E42C
:00000001FF

10
luefterstrg.hex~ Normal file
View file

@ -0,0 +1,10 @@
:0200000080522C
:0200030080106B
:10001300800FE590B4F00280072304F590120043AB
:1000230032E590B4FE0280F81403F59012004332D7
:10003300D288D28AD2A8D2AAC289C28B7590FF2253
:1000430078FA79C67A05D8FE78FAD9FA79C7DAF652
:0F0053002212003320A5FD7590FED2AF1200439C
:0F00620030A5FD20A5FD7590FF12004330A5FDD0
:0200710080E429
:00000001FF

288
luefterstrg.lst Normal file
View file

@ -0,0 +1,288 @@
luefterstrg PAGE 1
1 ; luefterstrg.asm
2 ; Name: Lueftersteuerung
3 ; Autor: Hendrik J. Schlehlein
4 ; Datum: 10.01.2019
5
00A5 6 S EQU P2.5
00B2 7 Tv EQU P3.2
00B3 8 Tr EQU P3.3
9
10 ORG 0
0000 805A 11 SJMP main
12
13 ORG 3
0003 8010 14 SJMP SR_hoch
15
16 ORG 13h
0013 8013 17 SJMP SR_runter
18
19 SR_hoch:
0015 D2A8 20 SETB EX0
0017 E590 21 MOV A, P1
0019 B4F002 22 CJNE A,#240, hoch
001C 8007 23 SJMP return0
24 hoch:
001E 23 25 RL A
001F 04 26 INC A
0020 F590 27 MOV P1, A
0022 12004B 28 LCALL UP_warte250ms
29 return0:
0025 C2A8 30 CLR EX0
0027 32 31 RETI
32
33 SR_runter:
0028 D2AA 34 SETB EX1
002A E590 35 MOV A, P1
002C B4FE02 36 CJNE A,#254, runter
002F 80F4 37 SJMP return0
38 runter:
0031 14 39 DEC A
0032 03 40 RR A
0033 F590 41 MOV P1, A
0035 12004B 42 LCALL UP_warte250ms
43 return1:
0038 C2AA 44 CLR EX1
003A 32 45 RETI
46
47 UP_init:
003B D288 48 SETB IT0
003D D28A 49 SETB IT1
003F D2A8 50 SETB EX0
0041 D2AA 51 SETB EX1
0043 C289 52 CLR IE0
0045 C28B 53 CLR IE1
0047 7590FF 54 MOV P1,#255
004A 22 55 RET
56
57 UP_warte250ms:
004B 78FA 58 MOV R0, #250;2
004D 79C6 59 MOV R1, #198;2
004F 7A05 60 MOV R2, #5;2
61 while1:
0051 D8FE 62 DJNZ R0, while1;2
0053 78FA 63 MOV R0, #250
0055 D9FA 64 DJNZ R1, while1
0057 79C7 65 MOV R1, #199
0059 DAF6 66 DJNZ R2, while1
005B 22 67 RET;2
68
69 main:
005C 12003B 70 LCALL UP_init
71 while0:
005F 20A5FD 72 JB S, while0
0062 7590FE 73 MOV P1,#254
0065 D2AF 74 SETB EA
0067 12004B 75 LCALL UP_warte250ms
76 while2:
006A 30A5FD 77 JNB S, while2
78 while3:
006D 20A5FD 79 JB S, while3
0070 7590FF 80 MOV P1,#255
81 ;CLR EA
0073 12004B 82 LCALL UP_warte250ms
83 while4:
0076 30A5FD 84 JNB S, while4
0079 80E4 85 SJMP while0
86 END
ASSEMBLY COMPLETE, NO ERRORS FOUND, NO WARNINGS
SYMBOL TABLE:
??MCU_8051_IDE . . . . . . . . . . . N NUMB 8051H NOT USED
??VERSION. . . . . . . . . . . . . . N NUMB 0147H NOT USED
AC . . . . . . . . . . . . . . . . . B ADDR 00D6H NOT USED
ACC. . . . . . . . . . . . . . . . . D ADDR 00E0H NOT USED
ACSR . . . . . . . . . . . . . . . . D ADDR 0097H NOT USED
ADCF . . . . . . . . . . . . . . . . D ADDR 00F6H NOT USED
ADCLK. . . . . . . . . . . . . . . . D ADDR 00F2H NOT USED
ADCON. . . . . . . . . . . . . . . . D ADDR 00F3H NOT USED
ADDH . . . . . . . . . . . . . . . . D ADDR 00F5H NOT USED
ADDL . . . . . . . . . . . . . . . . D ADDR 00F4H NOT USED
AUXR . . . . . . . . . . . . . . . . D ADDR 008EH NOT USED
AUXR1. . . . . . . . . . . . . . . . D ADDR 00A2H NOT USED
B. . . . . . . . . . . . . . . . . . D ADDR 00F0H NOT USED
BDRCON . . . . . . . . . . . . . . . D ADDR 009BH NOT USED
BDRCON_1 . . . . . . . . . . . . . . D ADDR 009CH NOT USED
BRL. . . . . . . . . . . . . . . . . D ADDR 009AH NOT USED
CCAP0H . . . . . . . . . . . . . . . D ADDR 00FAH NOT USED
CCAP0L . . . . . . . . . . . . . . . D ADDR 00EAH NOT USED
CCAP1H . . . . . . . . . . . . . . . D ADDR 00FBH NOT USED
CCAP1L . . . . . . . . . . . . . . . D ADDR 00EBH NOT USED
CCAP2H . . . . . . . . . . . . . . . D ADDR 00FCH NOT USED
CCAP3H . . . . . . . . . . . . . . . D ADDR 00FDH NOT USED
CCAP4H . . . . . . . . . . . . . . . D ADDR 00FEH NOT USED
CCAPL2H. . . . . . . . . . . . . . . D ADDR 00FCH NOT USED
CCAPL2L. . . . . . . . . . . . . . . D ADDR 00ECH NOT USED
CCAPL3H. . . . . . . . . . . . . . . D ADDR 00FDH NOT USED
CCAPL3L. . . . . . . . . . . . . . . D ADDR 00EDH NOT USED
CCAPL4H. . . . . . . . . . . . . . . D ADDR 00FEH NOT USED
CCAPL4L. . . . . . . . . . . . . . . D ADDR 00EEH NOT USED
CCAPM0 . . . . . . . . . . . . . . . D ADDR 00DAH NOT USED
CCAPM1 . . . . . . . . . . . . . . . D ADDR 00DBH NOT USED
CCAPM2 . . . . . . . . . . . . . . . D ADDR 00DCH NOT USED
CCAPM3 . . . . . . . . . . . . . . . D ADDR 00DDH NOT USED
CCAPM4 . . . . . . . . . . . . . . . D ADDR 00DEH NOT USED
CCF0 . . . . . . . . . . . . . . . . B ADDR 00D8H NOT USED
CCF1 . . . . . . . . . . . . . . . . B ADDR 00D9H NOT USED
CCF2 . . . . . . . . . . . . . . . . B ADDR 00DAH NOT USED
CCF3 . . . . . . . . . . . . . . . . B ADDR 00DBH NOT USED
CCF4 . . . . . . . . . . . . . . . . B ADDR 00DCH NOT USED
CCON . . . . . . . . . . . . . . . . D ADDR 00D8H NOT USED
CFINT. . . . . . . . . . . . . . . . C ADDR 0033H NOT USED
CH . . . . . . . . . . . . . . . . . D ADDR 00F9H NOT USED
CKCON. . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CKCON0 . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CKRL . . . . . . . . . . . . . . . . D ADDR 0097H NOT USED
CKSEL. . . . . . . . . . . . . . . . D ADDR 0085H NOT USED
CL . . . . . . . . . . . . . . . . . D ADDR 00E9H NOT USED
CLKREG . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CMOD . . . . . . . . . . . . . . . . D ADDR 00D9H NOT USED
CPRL2. . . . . . . . . . . . . . . . B ADDR 00C8H NOT USED
CR . . . . . . . . . . . . . . . . . B ADDR 00DEH NOT USED
CT2. . . . . . . . . . . . . . . . . B ADDR 00C9H NOT USED
CY . . . . . . . . . . . . . . . . . B ADDR 00D7H NOT USED
DP0H . . . . . . . . . . . . . . . . D ADDR 0083H NOT USED
DP0L . . . . . . . . . . . . . . . . D ADDR 0082H NOT USED
DP1H . . . . . . . . . . . . . . . . D ADDR 0085H NOT USED
DP1L . . . . . . . . . . . . . . . . D ADDR 0084H NOT USED
DPH. . . . . . . . . . . . . . . . . D ADDR 0083H NOT USED
DPL. . . . . . . . . . . . . . . . . D ADDR 0082H NOT USED
EA . . . . . . . . . . . . . . . . . B ADDR 00AFH
EC . . . . . . . . . . . . . . . . . B ADDR 00AEH NOT USED
EECON. . . . . . . . . . . . . . . . D ADDR 0096H NOT USED
ES . . . . . . . . . . . . . . . . . B ADDR 00ACH NOT USED
ET0. . . . . . . . . . . . . . . . . B ADDR 00A9H NOT USED
ET1. . . . . . . . . . . . . . . . . B ADDR 00ABH NOT USED
ET2. . . . . . . . . . . . . . . . . B ADDR 00ADH NOT USED
EX0. . . . . . . . . . . . . . . . . B ADDR 00A8H
EX1. . . . . . . . . . . . . . . . . B ADDR 00AAH
EXEN2. . . . . . . . . . . . . . . . B ADDR 00CBH NOT USED
EXF2 . . . . . . . . . . . . . . . . B ADDR 00CEH NOT USED
EXTI0. . . . . . . . . . . . . . . . C ADDR 0003H NOT USED
EXTI1. . . . . . . . . . . . . . . . C ADDR 0013H NOT USED
F0 . . . . . . . . . . . . . . . . . B ADDR 00D5H NOT USED
FE . . . . . . . . . . . . . . . . . B ADDR 009FH NOT USED
HOCH . . . . . . . . . . . . . . . . C ADDR 001EH
IE . . . . . . . . . . . . . . . . . D ADDR 00A8H NOT USED
IE0. . . . . . . . . . . . . . . . . B ADDR 0089H
IE1. . . . . . . . . . . . . . . . . B ADDR 008BH
INT0 . . . . . . . . . . . . . . . . B ADDR 00B2H NOT USED
INT1 . . . . . . . . . . . . . . . . B ADDR 00B3H NOT USED
IP . . . . . . . . . . . . . . . . . D ADDR 00B8H NOT USED
IPH. . . . . . . . . . . . . . . . . D ADDR 00B7H NOT USED
IPH0 . . . . . . . . . . . . . . . . D ADDR 00B7H NOT USED
IPH1 . . . . . . . . . . . . . . . . D ADDR 00B3H NOT USED
IPL0 . . . . . . . . . . . . . . . . D ADDR 00B8H NOT USED
IPL1 . . . . . . . . . . . . . . . . D ADDR 00B2H NOT USED
IT0. . . . . . . . . . . . . . . . . B ADDR 0088H
IT1. . . . . . . . . . . . . . . . . B ADDR 008AH
KBE. . . . . . . . . . . . . . . . . D ADDR 009DH NOT USED
KBF. . . . . . . . . . . . . . . . . D ADDR 009EH NOT USED
KBLS . . . . . . . . . . . . . . . . D ADDR 009CH NOT USED
MAIN . . . . . . . . . . . . . . . . C ADDR 005CH
OSCCON . . . . . . . . . . . . . . . D ADDR 0086H NOT USED
OV . . . . . . . . . . . . . . . . . B ADDR 00D2H NOT USED
P. . . . . . . . . . . . . . . . . . B ADDR 00D0H NOT USED
P0 . . . . . . . . . . . . . . . . . D ADDR 0080H NOT USED
P1 . . . . . . . . . . . . . . . . . D ADDR 0090H
P1M1 . . . . . . . . . . . . . . . . D ADDR 00D4H NOT USED
P1M2 . . . . . . . . . . . . . . . . D ADDR 00E2H NOT USED
P2 . . . . . . . . . . . . . . . . . D ADDR 00A0H NOT USED
P3 . . . . . . . . . . . . . . . . . D ADDR 00B0H NOT USED
P3M1 . . . . . . . . . . . . . . . . D ADDR 00D5H NOT USED
P3M2 . . . . . . . . . . . . . . . . D ADDR 00E3H NOT USED
P4 . . . . . . . . . . . . . . . . . D ADDR 00C0H NOT USED
P4M1 . . . . . . . . . . . . . . . . D ADDR 00D6H NOT USED
P4M2 . . . . . . . . . . . . . . . . D ADDR 00E4H NOT USED
P5 . . . . . . . . . . . . . . . . . D ADDR 00E8H NOT USED
PC . . . . . . . . . . . . . . . . . B ADDR 00BEH NOT USED
PCON . . . . . . . . . . . . . . . . D ADDR 0087H NOT USED
PPCL . . . . . . . . . . . . . . . . B ADDR 00BEH NOT USED
PS . . . . . . . . . . . . . . . . . B ADDR 00BCH NOT USED
PSL. . . . . . . . . . . . . . . . . B ADDR 00BCH NOT USED
PSW. . . . . . . . . . . . . . . . . D ADDR 00D0H NOT USED
PT0. . . . . . . . . . . . . . . . . B ADDR 00B9H NOT USED
PT0L . . . . . . . . . . . . . . . . B ADDR 00B9H NOT USED
PT1. . . . . . . . . . . . . . . . . B ADDR 00BBH NOT USED
PT1L . . . . . . . . . . . . . . . . B ADDR 00BBH NOT USED
PT2. . . . . . . . . . . . . . . . . B ADDR 00BDH NOT USED
PT2L . . . . . . . . . . . . . . . . B ADDR 00BDH NOT USED
PX0. . . . . . . . . . . . . . . . . B ADDR 00B8H NOT USED
PX0L . . . . . . . . . . . . . . . . B ADDR 00B8H NOT USED
PX1. . . . . . . . . . . . . . . . . B ADDR 00BAH NOT USED
PX1L . . . . . . . . . . . . . . . . B ADDR 00BAH NOT USED
RB8. . . . . . . . . . . . . . . . . B ADDR 009AH NOT USED
RCAP2H . . . . . . . . . . . . . . . D ADDR 00CBH NOT USED
RCAP2L . . . . . . . . . . . . . . . D ADDR 00CAH NOT USED
RCLK . . . . . . . . . . . . . . . . B ADDR 00CDH NOT USED
RD . . . . . . . . . . . . . . . . . B ADDR 00B7H NOT USED
REN. . . . . . . . . . . . . . . . . B ADDR 009CH NOT USED
RESET. . . . . . . . . . . . . . . . C ADDR 0000H NOT USED
RETURN0. . . . . . . . . . . . . . . C ADDR 0025H
RETURN1. . . . . . . . . . . . . . . C ADDR 0038H NOT USED
RI . . . . . . . . . . . . . . . . . B ADDR 0098H NOT USED
RS0. . . . . . . . . . . . . . . . . B ADDR 00D3H NOT USED
RS1. . . . . . . . . . . . . . . . . B ADDR 00D4H NOT USED
RUNTER . . . . . . . . . . . . . . . C ADDR 0031H
RXD. . . . . . . . . . . . . . . . . B ADDR 00B0H NOT USED
S. . . . . . . . . . . . . . . . . . N NUMB 00A5H
SADDR. . . . . . . . . . . . . . . . D ADDR 00A9H NOT USED
SADDR_0. . . . . . . . . . . . . . . D ADDR 00A9H NOT USED
SADDR_1. . . . . . . . . . . . . . . D ADDR 00AAH NOT USED
SADEN. . . . . . . . . . . . . . . . D ADDR 00B9H NOT USED
SADEN_0. . . . . . . . . . . . . . . D ADDR 00B9H NOT USED
SADEN_1. . . . . . . . . . . . . . . D ADDR 00BAH NOT USED
SBUF . . . . . . . . . . . . . . . . D ADDR 0099H NOT USED
SCON . . . . . . . . . . . . . . . . D ADDR 0098H NOT USED
SINT . . . . . . . . . . . . . . . . C ADDR 0023H NOT USED
SM0. . . . . . . . . . . . . . . . . B ADDR 009FH NOT USED
SM1. . . . . . . . . . . . . . . . . B ADDR 009EH NOT USED
SM2. . . . . . . . . . . . . . . . . B ADDR 009DH NOT USED
SP . . . . . . . . . . . . . . . . . D ADDR 0081H NOT USED
SPCON. . . . . . . . . . . . . . . . D ADDR 00C3H NOT USED
SPCR . . . . . . . . . . . . . . . . D ADDR 00D5H NOT USED
SPDAT. . . . . . . . . . . . . . . . D ADDR 00C5H NOT USED
SPDR . . . . . . . . . . . . . . . . D ADDR 0086H NOT USED
SPSR . . . . . . . . . . . . . . . . D ADDR 00AAH NOT USED
SPSTA. . . . . . . . . . . . . . . . D ADDR 00C4H NOT USED
SR_HOCH. . . . . . . . . . . . . . . C ADDR 0015H
SR_RUNTER. . . . . . . . . . . . . . C ADDR 0028H
T0 . . . . . . . . . . . . . . . . . B ADDR 00B4H NOT USED
T1 . . . . . . . . . . . . . . . . . B ADDR 00B5H NOT USED
T2CON. . . . . . . . . . . . . . . . D ADDR 00C8H NOT USED
T2MOD. . . . . . . . . . . . . . . . D ADDR 00C9H NOT USED
TB8. . . . . . . . . . . . . . . . . B ADDR 009BH NOT USED
TCLK . . . . . . . . . . . . . . . . B ADDR 00CCH NOT USED
TCON . . . . . . . . . . . . . . . . D ADDR 0088H NOT USED
TF0. . . . . . . . . . . . . . . . . B ADDR 008DH NOT USED
TF1. . . . . . . . . . . . . . . . . B ADDR 008FH NOT USED
TF2. . . . . . . . . . . . . . . . . B ADDR 00CFH NOT USED
TH0. . . . . . . . . . . . . . . . . D ADDR 008CH NOT USED
TH1. . . . . . . . . . . . . . . . . D ADDR 008DH NOT USED
TH2. . . . . . . . . . . . . . . . . D ADDR 00CDH NOT USED
TI . . . . . . . . . . . . . . . . . B ADDR 0099H NOT USED
TIMER0 . . . . . . . . . . . . . . . C ADDR 000BH NOT USED
TIMER1 . . . . . . . . . . . . . . . C ADDR 001BH NOT USED
TIMER2 . . . . . . . . . . . . . . . C ADDR 002BH NOT USED
TL0. . . . . . . . . . . . . . . . . D ADDR 008AH NOT USED
TL1. . . . . . . . . . . . . . . . . D ADDR 008BH NOT USED
TL2. . . . . . . . . . . . . . . . . D ADDR 00CCH NOT USED
TMOD . . . . . . . . . . . . . . . . D ADDR 0089H NOT USED
TR . . . . . . . . . . . . . . . . . N NUMB 00B3H NOT USED
TR0. . . . . . . . . . . . . . . . . B ADDR 008CH NOT USED
TR1. . . . . . . . . . . . . . . . . B ADDR 008EH NOT USED
TR2. . . . . . . . . . . . . . . . . B ADDR 00CAH NOT USED
TV . . . . . . . . . . . . . . . . . N NUMB 00B2H NOT USED
TXD. . . . . . . . . . . . . . . . . B ADDR 00B1H NOT USED
UP_INIT. . . . . . . . . . . . . . . C ADDR 003BH
UP_WARTE250MS. . . . . . . . . . . . C ADDR 004BH
WDTCON . . . . . . . . . . . . . . . D ADDR 00A7H NOT USED
WDTPRG . . . . . . . . . . . . . . . D ADDR 00A7H NOT USED
WDTRST . . . . . . . . . . . . . . . D ADDR 00A6H NOT USED
WHILE0 . . . . . . . . . . . . . . . C ADDR 005FH
WHILE1 . . . . . . . . . . . . . . . C ADDR 0051H
WHILE2 . . . . . . . . . . . . . . . C ADDR 006AH
WHILE3 . . . . . . . . . . . . . . . C ADDR 006DH
WHILE4 . . . . . . . . . . . . . . . C ADDR 0076H
WR . . . . . . . . . . . . . . . . . B ADDR 00B6H NOT USED

288
luefterstrg.lst~ Normal file
View file

@ -0,0 +1,288 @@
luefterstrg PAGE 1
1 ; luefterstrg.asm
2 ; Name: Lueftersteuerung
3 ; Autor: Hendrik J. Schlehlein
4 ; Datum: 10.01.2019
5
00A5 6 S EQU P2.5
00B2 7 Tv EQU P3.2
00B3 8 Tr EQU P3.3
9
10 ORG 0
0000 8052 11 SJMP main
12
13 ORG 3
0003 8010 14 SJMP SR_hoch
15
16 ORG 13h
0013 800F 17 SJMP SR_runter
18
19 SR_hoch:
20 ;SETB EX0
0015 E590 21 MOV A, P1
0017 B4F002 22 CJNE A,#240, hoch
001A 8007 23 SJMP return0
24 hoch:
001C 23 25 RL A
001D 04 26 INC A
001E F590 27 MOV P1, A
0020 120043 28 LCALL UP_warte250ms
29 return0:
30 ;CLR EX0
0023 32 31 RETI
32
33 SR_runter:
34 ;SETB EX1
0024 E590 35 MOV A, P1
0026 B4FE02 36 CJNE A,#254, runter
0029 80F8 37 SJMP return0
38 runter:
002B 14 39 DEC A
002C 03 40 RR A
002D F590 41 MOV P1, A
002F 120043 42 LCALL UP_warte250ms
43 return1:
44 ;CLR EX1
0032 32 45 RETI
46
47 UP_init:
0033 D288 48 SETB IT0
0035 D28A 49 SETB IT1
0037 D2A8 50 SETB EX0
0039 D2AA 51 SETB EX1
003B C289 52 CLR IE0
003D C28B 53 CLR IE1
003F 7590FF 54 MOV P1,#255
0042 22 55 RET
56
57 UP_warte250ms:
0043 78FA 58 MOV R0, #250;2
0045 79C6 59 MOV R1, #198;2
0047 7A05 60 MOV R2, #5;2
61 while1:
0049 D8FE 62 DJNZ R0, while1;2
004B 78FA 63 MOV R0, #250
004D D9FA 64 DJNZ R1, while1
004F 79C7 65 MOV R1, #199
0051 DAF6 66 DJNZ R2, while1
0053 22 67 RET;2
68
69 main:
0054 120033 70 LCALL UP_init
71 while0:
0057 20A5FD 72 JB S, while0
005A 7590FE 73 MOV P1,#254
005D D2AF 74 SETB EA
005F 120043 75 LCALL UP_warte250ms
76 while2:
0062 30A5FD 77 JNB S, while2
78 while3:
0065 20A5FD 79 JB S, while3
0068 7590FF 80 MOV P1,#255
81 ;CLR EA
006B 120043 82 LCALL UP_warte250ms
83 while4:
006E 30A5FD 84 JNB S, while4
0071 80E4 85 SJMP while0
86 END
ASSEMBLY COMPLETE, NO ERRORS FOUND, NO WARNINGS
SYMBOL TABLE:
??MCU_8051_IDE . . . . . . . . . . . N NUMB 8051H NOT USED
??VERSION. . . . . . . . . . . . . . N NUMB 0147H NOT USED
AC . . . . . . . . . . . . . . . . . B ADDR 00D6H NOT USED
ACC. . . . . . . . . . . . . . . . . D ADDR 00E0H NOT USED
ACSR . . . . . . . . . . . . . . . . D ADDR 0097H NOT USED
ADCF . . . . . . . . . . . . . . . . D ADDR 00F6H NOT USED
ADCLK. . . . . . . . . . . . . . . . D ADDR 00F2H NOT USED
ADCON. . . . . . . . . . . . . . . . D ADDR 00F3H NOT USED
ADDH . . . . . . . . . . . . . . . . D ADDR 00F5H NOT USED
ADDL . . . . . . . . . . . . . . . . D ADDR 00F4H NOT USED
AUXR . . . . . . . . . . . . . . . . D ADDR 008EH NOT USED
AUXR1. . . . . . . . . . . . . . . . D ADDR 00A2H NOT USED
B. . . . . . . . . . . . . . . . . . D ADDR 00F0H NOT USED
BDRCON . . . . . . . . . . . . . . . D ADDR 009BH NOT USED
BDRCON_1 . . . . . . . . . . . . . . D ADDR 009CH NOT USED
BRL. . . . . . . . . . . . . . . . . D ADDR 009AH NOT USED
CCAP0H . . . . . . . . . . . . . . . D ADDR 00FAH NOT USED
CCAP0L . . . . . . . . . . . . . . . D ADDR 00EAH NOT USED
CCAP1H . . . . . . . . . . . . . . . D ADDR 00FBH NOT USED
CCAP1L . . . . . . . . . . . . . . . D ADDR 00EBH NOT USED
CCAP2H . . . . . . . . . . . . . . . D ADDR 00FCH NOT USED
CCAP3H . . . . . . . . . . . . . . . D ADDR 00FDH NOT USED
CCAP4H . . . . . . . . . . . . . . . D ADDR 00FEH NOT USED
CCAPL2H. . . . . . . . . . . . . . . D ADDR 00FCH NOT USED
CCAPL2L. . . . . . . . . . . . . . . D ADDR 00ECH NOT USED
CCAPL3H. . . . . . . . . . . . . . . D ADDR 00FDH NOT USED
CCAPL3L. . . . . . . . . . . . . . . D ADDR 00EDH NOT USED
CCAPL4H. . . . . . . . . . . . . . . D ADDR 00FEH NOT USED
CCAPL4L. . . . . . . . . . . . . . . D ADDR 00EEH NOT USED
CCAPM0 . . . . . . . . . . . . . . . D ADDR 00DAH NOT USED
CCAPM1 . . . . . . . . . . . . . . . D ADDR 00DBH NOT USED
CCAPM2 . . . . . . . . . . . . . . . D ADDR 00DCH NOT USED
CCAPM3 . . . . . . . . . . . . . . . D ADDR 00DDH NOT USED
CCAPM4 . . . . . . . . . . . . . . . D ADDR 00DEH NOT USED
CCF0 . . . . . . . . . . . . . . . . B ADDR 00D8H NOT USED
CCF1 . . . . . . . . . . . . . . . . B ADDR 00D9H NOT USED
CCF2 . . . . . . . . . . . . . . . . B ADDR 00DAH NOT USED
CCF3 . . . . . . . . . . . . . . . . B ADDR 00DBH NOT USED
CCF4 . . . . . . . . . . . . . . . . B ADDR 00DCH NOT USED
CCON . . . . . . . . . . . . . . . . D ADDR 00D8H NOT USED
CFINT. . . . . . . . . . . . . . . . C ADDR 0033H NOT USED
CH . . . . . . . . . . . . . . . . . D ADDR 00F9H NOT USED
CKCON. . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CKCON0 . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CKRL . . . . . . . . . . . . . . . . D ADDR 0097H NOT USED
CKSEL. . . . . . . . . . . . . . . . D ADDR 0085H NOT USED
CL . . . . . . . . . . . . . . . . . D ADDR 00E9H NOT USED
CLKREG . . . . . . . . . . . . . . . D ADDR 008FH NOT USED
CMOD . . . . . . . . . . . . . . . . D ADDR 00D9H NOT USED
CPRL2. . . . . . . . . . . . . . . . B ADDR 00C8H NOT USED
CR . . . . . . . . . . . . . . . . . B ADDR 00DEH NOT USED
CT2. . . . . . . . . . . . . . . . . B ADDR 00C9H NOT USED
CY . . . . . . . . . . . . . . . . . B ADDR 00D7H NOT USED
DP0H . . . . . . . . . . . . . . . . D ADDR 0083H NOT USED
DP0L . . . . . . . . . . . . . . . . D ADDR 0082H NOT USED
DP1H . . . . . . . . . . . . . . . . D ADDR 0085H NOT USED
DP1L . . . . . . . . . . . . . . . . D ADDR 0084H NOT USED
DPH. . . . . . . . . . . . . . . . . D ADDR 0083H NOT USED
DPL. . . . . . . . . . . . . . . . . D ADDR 0082H NOT USED
EA . . . . . . . . . . . . . . . . . B ADDR 00AFH
EC . . . . . . . . . . . . . . . . . B ADDR 00AEH NOT USED
EECON. . . . . . . . . . . . . . . . D ADDR 0096H NOT USED
ES . . . . . . . . . . . . . . . . . B ADDR 00ACH NOT USED
ET0. . . . . . . . . . . . . . . . . B ADDR 00A9H NOT USED
ET1. . . . . . . . . . . . . . . . . B ADDR 00ABH NOT USED
ET2. . . . . . . . . . . . . . . . . B ADDR 00ADH NOT USED
EX0. . . . . . . . . . . . . . . . . B ADDR 00A8H
EX1. . . . . . . . . . . . . . . . . B ADDR 00AAH
EXEN2. . . . . . . . . . . . . . . . B ADDR 00CBH NOT USED
EXF2 . . . . . . . . . . . . . . . . B ADDR 00CEH NOT USED
EXTI0. . . . . . . . . . . . . . . . C ADDR 0003H NOT USED
EXTI1. . . . . . . . . . . . . . . . C ADDR 0013H NOT USED
F0 . . . . . . . . . . . . . . . . . B ADDR 00D5H NOT USED
FE . . . . . . . . . . . . . . . . . B ADDR 009FH NOT USED
HOCH . . . . . . . . . . . . . . . . C ADDR 001CH
IE . . . . . . . . . . . . . . . . . D ADDR 00A8H NOT USED
IE0. . . . . . . . . . . . . . . . . B ADDR 0089H
IE1. . . . . . . . . . . . . . . . . B ADDR 008BH
INT0 . . . . . . . . . . . . . . . . B ADDR 00B2H NOT USED
INT1 . . . . . . . . . . . . . . . . B ADDR 00B3H NOT USED
IP . . . . . . . . . . . . . . . . . D ADDR 00B8H NOT USED
IPH. . . . . . . . . . . . . . . . . D ADDR 00B7H NOT USED
IPH0 . . . . . . . . . . . . . . . . D ADDR 00B7H NOT USED
IPH1 . . . . . . . . . . . . . . . . D ADDR 00B3H NOT USED
IPL0 . . . . . . . . . . . . . . . . D ADDR 00B8H NOT USED
IPL1 . . . . . . . . . . . . . . . . D ADDR 00B2H NOT USED
IT0. . . . . . . . . . . . . . . . . B ADDR 0088H
IT1. . . . . . . . . . . . . . . . . B ADDR 008AH
KBE. . . . . . . . . . . . . . . . . D ADDR 009DH NOT USED
KBF. . . . . . . . . . . . . . . . . D ADDR 009EH NOT USED
KBLS . . . . . . . . . . . . . . . . D ADDR 009CH NOT USED
MAIN . . . . . . . . . . . . . . . . C ADDR 0054H
OSCCON . . . . . . . . . . . . . . . D ADDR 0086H NOT USED
OV . . . . . . . . . . . . . . . . . B ADDR 00D2H NOT USED
P. . . . . . . . . . . . . . . . . . B ADDR 00D0H NOT USED
P0 . . . . . . . . . . . . . . . . . D ADDR 0080H NOT USED
P1 . . . . . . . . . . . . . . . . . D ADDR 0090H
P1M1 . . . . . . . . . . . . . . . . D ADDR 00D4H NOT USED
P1M2 . . . . . . . . . . . . . . . . D ADDR 00E2H NOT USED
P2 . . . . . . . . . . . . . . . . . D ADDR 00A0H NOT USED
P3 . . . . . . . . . . . . . . . . . D ADDR 00B0H NOT USED
P3M1 . . . . . . . . . . . . . . . . D ADDR 00D5H NOT USED
P3M2 . . . . . . . . . . . . . . . . D ADDR 00E3H NOT USED
P4 . . . . . . . . . . . . . . . . . D ADDR 00C0H NOT USED
P4M1 . . . . . . . . . . . . . . . . D ADDR 00D6H NOT USED
P4M2 . . . . . . . . . . . . . . . . D ADDR 00E4H NOT USED
P5 . . . . . . . . . . . . . . . . . D ADDR 00E8H NOT USED
PC . . . . . . . . . . . . . . . . . B ADDR 00BEH NOT USED
PCON . . . . . . . . . . . . . . . . D ADDR 0087H NOT USED
PPCL . . . . . . . . . . . . . . . . B ADDR 00BEH NOT USED
PS . . . . . . . . . . . . . . . . . B ADDR 00BCH NOT USED
PSL. . . . . . . . . . . . . . . . . B ADDR 00BCH NOT USED
PSW. . . . . . . . . . . . . . . . . D ADDR 00D0H NOT USED
PT0. . . . . . . . . . . . . . . . . B ADDR 00B9H NOT USED
PT0L . . . . . . . . . . . . . . . . B ADDR 00B9H NOT USED
PT1. . . . . . . . . . . . . . . . . B ADDR 00BBH NOT USED
PT1L . . . . . . . . . . . . . . . . B ADDR 00BBH NOT USED
PT2. . . . . . . . . . . . . . . . . B ADDR 00BDH NOT USED
PT2L . . . . . . . . . . . . . . . . B ADDR 00BDH NOT USED
PX0. . . . . . . . . . . . . . . . . B ADDR 00B8H NOT USED
PX0L . . . . . . . . . . . . . . . . B ADDR 00B8H NOT USED
PX1. . . . . . . . . . . . . . . . . B ADDR 00BAH NOT USED
PX1L . . . . . . . . . . . . . . . . B ADDR 00BAH NOT USED
RB8. . . . . . . . . . . . . . . . . B ADDR 009AH NOT USED
RCAP2H . . . . . . . . . . . . . . . D ADDR 00CBH NOT USED
RCAP2L . . . . . . . . . . . . . . . D ADDR 00CAH NOT USED
RCLK . . . . . . . . . . . . . . . . B ADDR 00CDH NOT USED
RD . . . . . . . . . . . . . . . . . B ADDR 00B7H NOT USED
REN. . . . . . . . . . . . . . . . . B ADDR 009CH NOT USED
RESET. . . . . . . . . . . . . . . . C ADDR 0000H NOT USED
RETURN0. . . . . . . . . . . . . . . C ADDR 0023H
RETURN1. . . . . . . . . . . . . . . C ADDR 0032H NOT USED
RI . . . . . . . . . . . . . . . . . B ADDR 0098H NOT USED
RS0. . . . . . . . . . . . . . . . . B ADDR 00D3H NOT USED
RS1. . . . . . . . . . . . . . . . . B ADDR 00D4H NOT USED
RUNTER . . . . . . . . . . . . . . . C ADDR 002BH
RXD. . . . . . . . . . . . . . . . . B ADDR 00B0H NOT USED
S. . . . . . . . . . . . . . . . . . N NUMB 00A5H
SADDR. . . . . . . . . . . . . . . . D ADDR 00A9H NOT USED
SADDR_0. . . . . . . . . . . . . . . D ADDR 00A9H NOT USED
SADDR_1. . . . . . . . . . . . . . . D ADDR 00AAH NOT USED
SADEN. . . . . . . . . . . . . . . . D ADDR 00B9H NOT USED
SADEN_0. . . . . . . . . . . . . . . D ADDR 00B9H NOT USED
SADEN_1. . . . . . . . . . . . . . . D ADDR 00BAH NOT USED
SBUF . . . . . . . . . . . . . . . . D ADDR 0099H NOT USED
SCON . . . . . . . . . . . . . . . . D ADDR 0098H NOT USED
SINT . . . . . . . . . . . . . . . . C ADDR 0023H NOT USED
SM0. . . . . . . . . . . . . . . . . B ADDR 009FH NOT USED
SM1. . . . . . . . . . . . . . . . . B ADDR 009EH NOT USED
SM2. . . . . . . . . . . . . . . . . B ADDR 009DH NOT USED
SP . . . . . . . . . . . . . . . . . D ADDR 0081H NOT USED
SPCON. . . . . . . . . . . . . . . . D ADDR 00C3H NOT USED
SPCR . . . . . . . . . . . . . . . . D ADDR 00D5H NOT USED
SPDAT. . . . . . . . . . . . . . . . D ADDR 00C5H NOT USED
SPDR . . . . . . . . . . . . . . . . D ADDR 0086H NOT USED
SPSR . . . . . . . . . . . . . . . . D ADDR 00AAH NOT USED
SPSTA. . . . . . . . . . . . . . . . D ADDR 00C4H NOT USED
SR_HOCH. . . . . . . . . . . . . . . C ADDR 0015H
SR_RUNTER. . . . . . . . . . . . . . C ADDR 0024H
T0 . . . . . . . . . . . . . . . . . B ADDR 00B4H NOT USED
T1 . . . . . . . . . . . . . . . . . B ADDR 00B5H NOT USED
T2CON. . . . . . . . . . . . . . . . D ADDR 00C8H NOT USED
T2MOD. . . . . . . . . . . . . . . . D ADDR 00C9H NOT USED
TB8. . . . . . . . . . . . . . . . . B ADDR 009BH NOT USED
TCLK . . . . . . . . . . . . . . . . B ADDR 00CCH NOT USED
TCON . . . . . . . . . . . . . . . . D ADDR 0088H NOT USED
TF0. . . . . . . . . . . . . . . . . B ADDR 008DH NOT USED
TF1. . . . . . . . . . . . . . . . . B ADDR 008FH NOT USED
TF2. . . . . . . . . . . . . . . . . B ADDR 00CFH NOT USED
TH0. . . . . . . . . . . . . . . . . D ADDR 008CH NOT USED
TH1. . . . . . . . . . . . . . . . . D ADDR 008DH NOT USED
TH2. . . . . . . . . . . . . . . . . D ADDR 00CDH NOT USED
TI . . . . . . . . . . . . . . . . . B ADDR 0099H NOT USED
TIMER0 . . . . . . . . . . . . . . . C ADDR 000BH NOT USED
TIMER1 . . . . . . . . . . . . . . . C ADDR 001BH NOT USED
TIMER2 . . . . . . . . . . . . . . . C ADDR 002BH NOT USED
TL0. . . . . . . . . . . . . . . . . D ADDR 008AH NOT USED
TL1. . . . . . . . . . . . . . . . . D ADDR 008BH NOT USED
TL2. . . . . . . . . . . . . . . . . D ADDR 00CCH NOT USED
TMOD . . . . . . . . . . . . . . . . D ADDR 0089H NOT USED
TR . . . . . . . . . . . . . . . . . N NUMB 00B3H NOT USED
TR0. . . . . . . . . . . . . . . . . B ADDR 008CH NOT USED
TR1. . . . . . . . . . . . . . . . . B ADDR 008EH NOT USED
TR2. . . . . . . . . . . . . . . . . B ADDR 00CAH NOT USED
TV . . . . . . . . . . . . . . . . . N NUMB 00B2H NOT USED
TXD. . . . . . . . . . . . . . . . . B ADDR 00B1H NOT USED
UP_INIT. . . . . . . . . . . . . . . C ADDR 0033H
UP_WARTE250MS. . . . . . . . . . . . C ADDR 0043H
WDTCON . . . . . . . . . . . . . . . D ADDR 00A7H NOT USED
WDTPRG . . . . . . . . . . . . . . . D ADDR 00A7H NOT USED
WDTRST . . . . . . . . . . . . . . . D ADDR 00A6H NOT USED
WHILE0 . . . . . . . . . . . . . . . C ADDR 0057H
WHILE1 . . . . . . . . . . . . . . . C ADDR 0049H
WHILE2 . . . . . . . . . . . . . . . C ADDR 0062H
WHILE3 . . . . . . . . . . . . . . . C ADDR 0065H
WHILE4 . . . . . . . . . . . . . . . C ADDR 006EH
WR . . . . . . . . . . . . . . . . . B ADDR 00B6H NOT USED

290
luefterstrg.mcu8051ide Normal file
View file

@ -0,0 +1,290 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE tk_mcuide_project [
<!-- Declare entities -->
<!ENTITY quot "&#34;">
<!ENTITY amp "&#38;">
<!ENTITY lt "&#60;">
<!ENTITY gt "&#62;">
<!-- ROOT ELEMENT -->
<!ELEMENT tk_mcuide_project (general, other_options, compiler_options, files)>
<!-- Root element Parameters:
version - Project version (user defined)
date - Project last update (user defined)
creator_ver - MCU 8051 IDE version (hardcoded in the program)
-->
<!ATTLIST tk_mcuide_project
version CDATA #IMPLIED
date CDATA #IMPLIED
creator_ver CDATA #IMPLIED
>
<!-- General information about the project -->
<!ELEMENT general (authors, copyright, licence, processor, options, graph, description, todo, calculator)>
<!-- List of project authors, one name per line -->
<!ELEMENT authors (#PCDATA)>
<!-- Copyrigh information -->
<!ELEMENT copyright (#PCDATA)>
<!-- Project licence -->
<!ELEMENT licence (#PCDATA)>
<!-- Processor type and configuration -->
<!ELEMENT processor EMPTY>
<!-- Parameters of tag "processor":
type - Processor type (e.g. AT89C51RC or 80C51)
clock - Clock frequency in kHz
xdata - Size of connected XDATA memory (0 means disconnected)
xcode - Size of connected XCODE memory (0 means disconnected)
-->
<!ATTLIST processor
type CDATA #IMPLIED
clock CDATA #IMPLIED
xdata CDATA #IMPLIED
xcode CDATA #IMPLIED
>
<!-- Various project options -->
<!ELEMENT options EMPTY>
<!-- Parameters of tag "options":
watches_file - Relative or absolute path to definition file of register watches
scheme - Relative or absolute path to scheme file
main_file - Main project source code file (e.g. main.c)
auto_sw_enabled - Automatic file switching during simulation locked
-->
<!ATTLIST options
watches_file CDATA #IMPLIED
scheme CDATA #IMPLIED
main_file CDATA #IMPLIED
auto_sw_enabled (0|1) #IMPLIED
>
<!-- Ports graph definition -->
<!ELEMENT graph EMPTY>
<!-- Parameters of tag "graph":
grid - Grid mode
magnification - Magnification level (must be an integer between 0 and 3)
enabled - Graph enable flag (Boolean value 0 or 1)
marks_s - List of state graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
marks_l - List of laches graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
marks_o - List of output graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
active_page - Active page
-->
<!ATTLIST graph
grid (n|b|x|y) #IMPLIED
magnification (0|1|2|3) #IMPLIED
enabled (0|1) #IMPLIED
marks_s CDATA #IMPLIED
marks_l CDATA #IMPLIED
marks_o CDATA #IMPLIED
active_page CDATA #IMPLIED
>
<!-- Project description text (plain text only) -->
<!ELEMENT description (#PCDATA)>
<!-- Project to do list (SGML format) -->
<!ELEMENT todo (#PCDATA)>
<!-- Calculator configuration -->
<!ELEMENT calculator EMPTY>
<!-- Parameters of tag "calculator":
radix - Radix (one of {Dec Hex Bin Oct})
angle_unit - Angle unit (one of {deg rad grad})
display0 - Primary display
display1 - Opereator display
display2 - Secondary display
memory0 - Content of memory bank 0
memory1 - Content of memory bank 1
memory2 - Content of memory bank 2
freq - Timers preset calculator: Frequency
time - Timers preset calculator: Desired time
mode - Timers preset calculator: Timer mode (one of {0 1 2})
-->
<!ATTLIST calculator
radix (Dec|Hex|Bin|Oct) #IMPLIED
angle_unit (deg|rad|grad) #IMPLIED
display0 CDATA #IMPLIED
display1 CDATA #IMPLIED
display2 CDATA #IMPLIED
memory0 CDATA #IMPLIED
memory1 CDATA #IMPLIED
memory2 CDATA #IMPLIED
freq CDATA #IMPLIED
time CDATA #IMPLIED
mode (0|1|2) #IMPLIED
>
<!-- Other options (it can contain anything) -->
<!ELEMENT other_options (#PCDATA)>
<!-- Compiler options -->
<!ELEMENT compiler_options (#PCDATA)>
<!-- Project files -->
<!ELEMENT files (file)*>
<!-- Parameters of tag "files":
count - Number of project files
current_file - Current file in left/top view
current_file2 - Current file in right/bottom view (if it's less than zero then editor won't be splitted)
pwin_sash - Position of paned window sash (has meaning only if editor was splitted)
selected_view - Active view; 0 == left/top, 1 == right/bottom
pwin_orient - Orientation of paned window for multiview (one of {horizontal vertical})
-->
<!ATTLIST files
count CDATA #IMPLIED
current_file CDATA #IMPLIED
current_file2 CDATA #IMPLIED
pwin_sash CDATA #IMPLIED
selected_view (0|1) #IMPLIED
pwin_orient (horizontal|vertical) #IMPLIED
>
<!-- Project file description -->
<!ELEMENT file (actual_line, md5_hash, path, bookmarks, breakpoints, eol, encoding, notes)>
<!-- Parameters of tag "file":
name - File name without path
active - "yes" == opended; "no" == closed
o_bookmark - Bookmark in list of opened files
p_bookmark - Bookmark in list of project files
file_index - File index in the list
read_only - Read only flag
highlight - Syntax highlight
-->
<!ATTLIST file
name CDATA #IMPLIED
active (yes|no) #IMPLIED
o_bookmark (1|0) #IMPLIED
p_bookmark (1|0) #IMPLIED
file_index CDATA #IMPLIED
read_only (1|0) #IMPLIED
highlight CDATA #IMPLIED
>
<!-- Current line -->
<!ELEMENT actual_line EMPTY>
<!-- Parameters of tag "actual_line":
value - Current line in the file
-->
<!ATTLIST actual_line
value CDATA #IMPLIED
>
<!-- MD5 hash for the file -->
<!ELEMENT md5_hash EMPTY>
<!-- Parameters of tag "md5_hash":
value - Last MD5 hash
-->
<!ATTLIST md5_hash
value CDATA #IMPLIED
>
<!-- File path -->
<!ELEMENT path (#PCDATA)>
<!-- Bookmarks: list of line numbers -->
<!ELEMENT bookmarks (#PCDATA)>
<!-- Breakpoints: list of line numbers -->
<!ELEMENT breakpoints (#PCDATA)>
<!-- End Of Line character name -->
<!ELEMENT eol EMPTY>
<!-- Parameters of tag "eol":
value - EOL character (lf == "Line feed" 0x0A; cr == "Carriage return" 0x0D)
-->
<!ATTLIST eol
value (lf|cr|crlf) #IMPLIED
>
<!-- File encoding (we strongly recomend to use utf-8 only) -->
<!ELEMENT encoding EMPTY>
<!-- File notes -->
<!ELEMENT notes (#PCDATA)>
<!-- Parameters of tag "encoding":
value - Name of choosen encoding
-->
<!ATTLIST encoding
value CDATA #IMPLIED
>
]>
<tk_mcuide_project version="" date="01/10/2019" creator_ver="1.4.7">
<general>
<authors><![CDATA[hendr.DESKTOP-18FJ5E1
]]></authors>
<copyright><![CDATA[]]></copyright>
<license><![CDATA[]]></license>
<processor type="AT89S52" clock="24000" xdata="0" xcode="0"/>
<options
watches_file=""
scheme=""
main_file=""
auto_sw_enabled="1"
/>
<graph
grid="y"
magnification="0"
enabled="0"
marks_s="X0000000000000000000000000000000000000000000"
marks_l="X0000000000000000000000000000000000000000000"
marks_o="X0000000000000000000000000000000000000000000"
active_page="state"
/>
<description><![CDATA[]]></description>
<todo><![CDATA[
]]></todo>
<calculator
radix="Dec"
angle_unit="rad"
display0=""
display1=""
display2=""
memory0=""
memory1=""
memory2=""
freq="12000"
time=""
mode="0"
/>
</general>
<other_options><![CDATA[]]></other_options>
<compiler_options><![CDATA[{_title 0 _list 0 _print 0 _nomod 0 max_ihex_rec_length 16 _object 0 _pagelength 0 QUIET 0 _symbols 0 CREATE_SIM_FILE 1 CREATE_BIN_FILE 1 optim_ena 0 _pagewidth 0 WARNING_LEVEL 0 _paging 0 _date 0} 0 {--verbose 1 -i {} --omf-51 0 --columns 0 custom {}} {adf 1} {-L 1 -M 0 custom {} -n 0 -P 0 -A 0 -a 0 -r {} -C 0 -c 0 -s 1 -u 0 -U 0 -w 0 -g MAP -quiet 0 -h 0 -x 0 -cpu 8051 -I 1 -i {}} {ihex 1 adf 1} {--out-fmt-s19 0 --fdollars-in-identifiers 0 --nogcse 0 --nooverlay 1 --no-peep-comments 0 --no-c-code-in-asm 0 --print-search-dirs 0 --nostdlib 0 --peep-asm 0 --nolabelopt 0 --short-is-8bits 0 --cyclomatic 0 --compile-only 0 --profile 0 --noinvariant 0 --no-reg-params 0 --noinduction 1 --out-fmt-ihx 0 --nojtbound 0 --opt-code-size 0 --less-pedantic 0 --no-peep 0 -S 0 --verbose 1 --funsigned-char 0 --xstack 0 --no-xinit-opt 0 --debug 1 --preprocessonly 0 --c1mode 0 -V 1 --float-reent 0 --parms-in-bank1 0 --opt-code-speed 0 --nostdinc 0 --main-return 0 --xram-movc 0 --fommit-frame-pointer 0 --fverbose-asm 0 --int-long-reent 0 --all-callee-saves 0 --stack-probe 0 --noloopreverse 0 --stack-auto 0 --use-stdout 0} {model --model-small standard --std-sdcc89 stack {} custom {}} {--codeseg {} --constseg {} --code-loc {} --stack-size {} --xram-loc {} --lib-path {} --xstack-loc {} --stack-loc {} --data-loc {}} {-l {} -L {} --disable-warning {} -I {}} {-l 1 -A {} -F hex custom {}} {adf 1}]]></compiler_options>
<files
count="1"
current_file="0"
current_file2="-1"
pwin_sash="0"
selected_view="0"
pwin_orient="horizontal">
<file name="luefterstrg.asm" active="yes" o_bookmark="0" p_bookmark="0" file_index="0" read_only="0" highlight="0">
<actual_line value="22"/>
<md5_hash value="69E9FEFEAF136A5BA09F9E6322664A37"/>
<path><![CDATA[]]></path>
<bookmarks>
0
</bookmarks>
<breakpoints>
0
</breakpoints>
<eol value="lf"/>
<encoding value="utf-8"/>
<notes><![CDATA[]]></notes>
</file>
</files>
</tk_mcuide_project>

290
luefterstrg.mcu8051ide~ Normal file
View file

@ -0,0 +1,290 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE tk_mcuide_project [
<!-- Declare entities -->
<!ENTITY quot "&#34;">
<!ENTITY amp "&#38;">
<!ENTITY lt "&#60;">
<!ENTITY gt "&#62;">
<!-- ROOT ELEMENT -->
<!ELEMENT tk_mcuide_project (general, other_options, compiler_options, files)>
<!-- Root element Parameters:
version - Project version (user defined)
date - Project last update (user defined)
creator_ver - MCU 8051 IDE version (hardcoded in the program)
-->
<!ATTLIST tk_mcuide_project
version CDATA #IMPLIED
date CDATA #IMPLIED
creator_ver CDATA #IMPLIED
>
<!-- General information about the project -->
<!ELEMENT general (authors, copyright, licence, processor, options, graph, description, todo, calculator)>
<!-- List of project authors, one name per line -->
<!ELEMENT authors (#PCDATA)>
<!-- Copyrigh information -->
<!ELEMENT copyright (#PCDATA)>
<!-- Project licence -->
<!ELEMENT licence (#PCDATA)>
<!-- Processor type and configuration -->
<!ELEMENT processor EMPTY>
<!-- Parameters of tag "processor":
type - Processor type (e.g. AT89C51RC or 80C51)
clock - Clock frequency in kHz
xdata - Size of connected XDATA memory (0 means disconnected)
xcode - Size of connected XCODE memory (0 means disconnected)
-->
<!ATTLIST processor
type CDATA #IMPLIED
clock CDATA #IMPLIED
xdata CDATA #IMPLIED
xcode CDATA #IMPLIED
>
<!-- Various project options -->
<!ELEMENT options EMPTY>
<!-- Parameters of tag "options":
watches_file - Relative or absolute path to definition file of register watches
scheme - Relative or absolute path to scheme file
main_file - Main project source code file (e.g. main.c)
auto_sw_enabled - Automatic file switching during simulation locked
-->
<!ATTLIST options
watches_file CDATA #IMPLIED
scheme CDATA #IMPLIED
main_file CDATA #IMPLIED
auto_sw_enabled (0|1) #IMPLIED
>
<!-- Ports graph definition -->
<!ELEMENT graph EMPTY>
<!-- Parameters of tag "graph":
grid - Grid mode
magnification - Magnification level (must be an integer between 0 and 3)
enabled - Graph enable flag (Boolean value 0 or 1)
marks_s - List of state graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
marks_l - List of laches graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
marks_o - List of output graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
active_page - Active page
-->
<!ATTLIST graph
grid (n|b|x|y) #IMPLIED
magnification (0|1|2|3) #IMPLIED
enabled (0|1) #IMPLIED
marks_s CDATA #IMPLIED
marks_l CDATA #IMPLIED
marks_o CDATA #IMPLIED
active_page CDATA #IMPLIED
>
<!-- Project description text (plain text only) -->
<!ELEMENT description (#PCDATA)>
<!-- Project to do list (SGML format) -->
<!ELEMENT todo (#PCDATA)>
<!-- Calculator configuration -->
<!ELEMENT calculator EMPTY>
<!-- Parameters of tag "calculator":
radix - Radix (one of {Dec Hex Bin Oct})
angle_unit - Angle unit (one of {deg rad grad})
display0 - Primary display
display1 - Opereator display
display2 - Secondary display
memory0 - Content of memory bank 0
memory1 - Content of memory bank 1
memory2 - Content of memory bank 2
freq - Timers preset calculator: Frequency
time - Timers preset calculator: Desired time
mode - Timers preset calculator: Timer mode (one of {0 1 2})
-->
<!ATTLIST calculator
radix (Dec|Hex|Bin|Oct) #IMPLIED
angle_unit (deg|rad|grad) #IMPLIED
display0 CDATA #IMPLIED
display1 CDATA #IMPLIED
display2 CDATA #IMPLIED
memory0 CDATA #IMPLIED
memory1 CDATA #IMPLIED
memory2 CDATA #IMPLIED
freq CDATA #IMPLIED
time CDATA #IMPLIED
mode (0|1|2) #IMPLIED
>
<!-- Other options (it can contain anything) -->
<!ELEMENT other_options (#PCDATA)>
<!-- Compiler options -->
<!ELEMENT compiler_options (#PCDATA)>
<!-- Project files -->
<!ELEMENT files (file)*>
<!-- Parameters of tag "files":
count - Number of project files
current_file - Current file in left/top view
current_file2 - Current file in right/bottom view (if it's less than zero then editor won't be splitted)
pwin_sash - Position of paned window sash (has meaning only if editor was splitted)
selected_view - Active view; 0 == left/top, 1 == right/bottom
pwin_orient - Orientation of paned window for multiview (one of {horizontal vertical})
-->
<!ATTLIST files
count CDATA #IMPLIED
current_file CDATA #IMPLIED
current_file2 CDATA #IMPLIED
pwin_sash CDATA #IMPLIED
selected_view (0|1) #IMPLIED
pwin_orient (horizontal|vertical) #IMPLIED
>
<!-- Project file description -->
<!ELEMENT file (actual_line, md5_hash, path, bookmarks, breakpoints, eol, encoding, notes)>
<!-- Parameters of tag "file":
name - File name without path
active - "yes" == opended; "no" == closed
o_bookmark - Bookmark in list of opened files
p_bookmark - Bookmark in list of project files
file_index - File index in the list
read_only - Read only flag
highlight - Syntax highlight
-->
<!ATTLIST file
name CDATA #IMPLIED
active (yes|no) #IMPLIED
o_bookmark (1|0) #IMPLIED
p_bookmark (1|0) #IMPLIED
file_index CDATA #IMPLIED
read_only (1|0) #IMPLIED
highlight CDATA #IMPLIED
>
<!-- Current line -->
<!ELEMENT actual_line EMPTY>
<!-- Parameters of tag "actual_line":
value - Current line in the file
-->
<!ATTLIST actual_line
value CDATA #IMPLIED
>
<!-- MD5 hash for the file -->
<!ELEMENT md5_hash EMPTY>
<!-- Parameters of tag "md5_hash":
value - Last MD5 hash
-->
<!ATTLIST md5_hash
value CDATA #IMPLIED
>
<!-- File path -->
<!ELEMENT path (#PCDATA)>
<!-- Bookmarks: list of line numbers -->
<!ELEMENT bookmarks (#PCDATA)>
<!-- Breakpoints: list of line numbers -->
<!ELEMENT breakpoints (#PCDATA)>
<!-- End Of Line character name -->
<!ELEMENT eol EMPTY>
<!-- Parameters of tag "eol":
value - EOL character (lf == "Line feed" 0x0A; cr == "Carriage return" 0x0D)
-->
<!ATTLIST eol
value (lf|cr|crlf) #IMPLIED
>
<!-- File encoding (we strongly recomend to use utf-8 only) -->
<!ELEMENT encoding EMPTY>
<!-- File notes -->
<!ELEMENT notes (#PCDATA)>
<!-- Parameters of tag "encoding":
value - Name of choosen encoding
-->
<!ATTLIST encoding
value CDATA #IMPLIED
>
]>
<tk_mcuide_project version="" date="01/10/2019" creator_ver="1.4.7">
<general>
<authors><![CDATA[hendr.DESKTOP-18FJ5E1
]]></authors>
<copyright><![CDATA[]]></copyright>
<license><![CDATA[]]></license>
<processor type="AT89S52" clock="24000" xdata="0" xcode="0"/>
<options
watches_file=""
scheme=""
main_file=""
auto_sw_enabled="1"
/>
<graph
grid="y"
magnification="0"
enabled="0"
marks_s="X0000000000000000000000000000000000000000000"
marks_l="X0000000000000000000000000000000000000000000"
marks_o="X0000000000000000000000000000000000000000000"
active_page="state"
/>
<description><![CDATA[]]></description>
<todo><![CDATA[
]]></todo>
<calculator
radix="Dec"
angle_unit="rad"
display0=""
display1=""
display2=""
memory0=""
memory1=""
memory2=""
freq="12000"
time=""
mode="0"
/>
</general>
<other_options><![CDATA[]]></other_options>
<compiler_options><![CDATA[{_title 0 _list 0 _print 0 _nomod 0 max_ihex_rec_length 16 _object 0 _pagelength 0 QUIET 0 _symbols 0 CREATE_SIM_FILE 1 CREATE_BIN_FILE 1 _pagewidth 0 optim_ena 0 _date 0 _paging 0 WARNING_LEVEL 0} 0 {--verbose 1 -i {} custom {} --columns 0 --omf-51 0} {adf 1} {-L 1 -M 0 custom {} -n 0 -P 0 -A 0 -a 0 -r {} -C 0 -c 0 -s 1 -U 0 -u 0 -g MAP -w 0 -cpu 8051 -x 0 -h 0 -quiet 0 -i {} -I 1} {ihex 1 adf 1} {--out-fmt-s19 0 --fdollars-in-identifiers 0 --nogcse 0 --nooverlay 1 --no-peep-comments 0 --no-c-code-in-asm 0 --print-search-dirs 0 --nostdlib 0 --nolabelopt 0 --short-is-8bits 0 --cyclomatic 0 --compile-only 0 --peep-asm 0 --no-reg-params 0 --noinvariant 0 --profile 0 --out-fmt-ihx 0 --noinduction 1 --opt-code-size 0 --nojtbound 0 --no-peep 0 --less-pedantic 0 --no-xinit-opt 0 --xstack 0 --funsigned-char 0 --verbose 1 -S 0 --debug 1 --preprocessonly 0 --opt-code-speed 0 --parms-in-bank1 0 --float-reent 0 -V 1 --c1mode 0 --fverbose-asm 0 --fommit-frame-pointer 0 --xram-movc 0 --main-return 0 --nostdinc 0 --noloopreverse 0 --stack-probe 0 --all-callee-saves 0 --int-long-reent 0 --stack-auto 0 --use-stdout 0} {standard --std-sdcc89 model --model-small stack {} custom {}} {--stack-size {} --code-loc {} --constseg {} --codeseg {} --xram-loc {} --data-loc {} --stack-loc {} --xstack-loc {} --lib-path {}} {--disable-warning {} -L {} -l {} -I {}} {-l 1 -A {} custom {} -F hex} {adf 1}]]></compiler_options>
<files
count="1"
current_file="0"
current_file2="-1"
pwin_sash="0"
selected_view="0"
pwin_orient="horizontal">
<file name="luefterstrg.asm" active="yes" o_bookmark="0" p_bookmark="0" file_index="0" read_only="0" highlight="0">
<actual_line value="14"/>
<md5_hash value="4ABFC420B6CD6D3EAECADBEA49F2FD49"/>
<path><![CDATA[]]></path>
<bookmarks>
0
</bookmarks>
<breakpoints>
23
</breakpoints>
<eol value="lf"/>
<encoding value="utf-8"/>
<notes><![CDATA[]]></notes>
</file>
</files>
</tk_mcuide_project>