diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2 | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2')
| -rw-r--r-- | Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03 b/Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03 new file mode 100644 index 0000000..9ca5f47 --- /dev/null +++ b/Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03 @@ -0,0 +1,22 @@ +LSTOUT-
+$SFR80515.INC
+LSTOUT+
+
+ORG 300h
+MOV P4,#0FFh
+MOV P5,#0FFh
+SETB P1.0
+SETB P1.1
+
+START: JB P1.1,SPRG
+ LJMP 8000h
+
+SPRG: MOV DPTR,#LABEL+2
+ MOV A,P4
+ MOVX @DPTR,A
+ JB P1.0, START
+
+LABEL: MOV 00,P5
+WART: JB P1.0,WART
+ SJMP START
+ END
\ No newline at end of file |
