summaryrefslogtreecommitdiffstats
path: root/Bachelor/Mikroprozessorsysteme1/Praktikum2/aufg2
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Mikroprozessorsysteme1/Praktikum2/aufg2')
-rw-r--r--Bachelor/Mikroprozessorsysteme1/Praktikum2/aufg2/p2_2b.s0322
1 files changed, 22 insertions, 0 deletions
diff --git a/Bachelor/Mikroprozessorsysteme1/Praktikum2/aufg2/p2_2b.s03 b/Bachelor/Mikroprozessorsysteme1/Praktikum2/aufg2/p2_2b.s03
new file mode 100644
index 0000000..9ca5f47
--- /dev/null
+++ b/Bachelor/Mikroprozessorsysteme1/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