commit 9dc42f9c39d0d6097ccd7b1dec41298424eb53b1 Author: LeterZP Date: Thu May 7 14:51:41 2026 +0300 OPDLab5/pass without additional task diff --git a/main.asm b/main.asm new file mode 100644 index 0000000..1b6dcf4 --- /dev/null +++ b/main.asm @@ -0,0 +1,31 @@ +org 0x05D6 +start: cla +A: in 5 +and #0x40 +beq A +in 4 +swab +st x +cmp stopsym +beq stop +B: in 5 +and #0x40 +beq B +in 4 +or x +st x +and #0xFF +cmp stopsym +beq stop +ld x +st (next)+ +jump start +stop: ld x +st (next)+ +hlt +next: word $line +stopsym: word 0x0000 +x: word 0x0000 + +org 0x0603 +line: word ? \ No newline at end of file diff --git a/report.pdf b/report.pdf new file mode 100644 index 0000000..febb471 Binary files /dev/null and b/report.pdf differ