repo update

This commit is contained in:
aljazbrodar. 2026-01-17 19:43:56 +01:00
parent 5591686517
commit c56b6c92db
25 changed files with 194 additions and 252 deletions

32
ass3/zbirnik/input.asm Normal file
View file

@ -0,0 +1,32 @@
arith START 0
+LDA x
ADD y
STA sum
LDA x
SUB y
STA diff
LDA x
MUL y
STA prod
LDA x
DIV y
STA quot
LDA y
MUL quot
STA mod
LDA x
SUB mod
STA mod
HALT J HALT
END arith
x WORD 11
y WORD 5
sum RESW 1
diff RESW 1
prod RESW 1
quot RESW 1
mod RESW 1