formatiral arith.asm

This commit is contained in:
privsk 2025-10-22 10:37:01 +02:00
parent 27d49a9f27
commit efac46aa32

View file

@ -1,23 +1,28 @@
arithm START 0 arithm START 0
LDA x LDA x
ADD y ADD y
STA sum STA sum
LDA x
SUB y LDA x
STA diff SUB y
LDA x STA diff
MUL y
STA prod LDA x
LDA x MUL y
DIV y STA prod
STA quot
LDA x LDA x
DIV y DIV y
MUL y STA quot
STA temp
LDA x LDA x
SUB temp DIV y
STA mod MUL y
STA temp
LDA x
SUB temp
STA mod
halt J halt halt J halt
. podatki . podatki