diff --git a/ass1/horner.asm b/ass1/horner.asm new file mode 100644 index 0000000..9f4cdf3 --- /dev/null +++ b/ass1/horner.asm @@ -0,0 +1,22 @@ +horner START 0 + LDA #1 + MUL x + + ADD #2 + MUL x + + ADD #3 + MUL x + + ADD #4 + MUL x + + ADD #5 + STA result + +halt J halt + +.podatki +x WORD 2 +result RESW 1 + END horner \ No newline at end of file