working on ass3, todo pc, nixbpe

This commit is contained in:
Jaka Furlan 2025-12-14 23:31:52 +01:00
parent 6261d9fe37
commit beabcde7db
15 changed files with 412 additions and 194 deletions

View file

@ -1,6 +1,9 @@
poly START 0
start LDT x4
LDS x
poly START 16
p BYTE X'EF'
ADD #34
start +LDT x4, X
x4 WORD 1
+LDS @x
MULR S, T
LDA x3
ADDR T, A . do sedaj izračunano (1x + 2)
@ -8,7 +11,6 @@ start LDT x4
LDT x2
MULR S, A
ADDR T, A .do sedaj izračunano ((1x+2)x + 3)
LDT x1
MULR S, A
ADDR T, A .do sedaj izračunano (((1x+2)x + 3)x + 4)
@ -21,11 +23,11 @@ start LDT x4
STA rez
halt J halt
END start
.polinom
x4 WORD 1
x3 WORD 2
x2 WORD 3
x1 WORD 4
@ -35,4 +37,6 @@ x0 WORD 5
x WORD 2
.rezultat
rez RESW 1
rez RESW 1
END start