diff options
Diffstat (limited to 'Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03')
| -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 |
