From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../Praktikum2/aufg2/p2_2b.s03 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2/p2_2b.s03 (limited to 'Bachelor/Mikroprozessorsysteme/Praktikum2/aufg2') 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 -- cgit v1.2.3