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

View file

@ -1,3 +0,0 @@
module zbirnik
go 1.25.2

View file

@ -1,37 +0,0 @@
{arithr START 7 0 0}
{ 4 3 3 10 false false false false false true}
{ 168 2 2 A 10}
{ 108 3 3 11 false false false false false true}
{ 116 3 3 5 false false false false false true}
{ 0 3 3 ZERO false false false false false false}
{ 144 2 2 S A}
{ 144 2 2 T A}
{ 12 3 3 sum false false false false false false}
{ 0 3 3 ZERO false false false false false false}
{ 144 2 2 S A}
{ 148 2 2 T A}
{ 12 3 3 diff false false false false false false}
{ 0 3 3 ZERO false false false false false false}
{ 144 2 2 S A}
{ 152 2 2 T A}
{ 12 3 3 prod false false false false false false}
{ 0 3 3 ZERO false false false false false false}
{ 144 2 2 S A}
{ 156 2 2 T A}
{ 12 3 3 quot false false false false false false}
{ 0 3 3 ZERO false false false false false false}
{ 144 2 2 S A}
{LOOP 148 2 2 T A}
{ 160 2 2 A T}
{ 52 3 3 LOOP false false false false false false}
{ 48 3 3 LOOP false false false false false false}
{ 12 3 3 mod false false false false false false}
{HALT 60 3 3 HALT false false false false false false}
{ END 7 0 arithr}
{ZERO WORD 9 3 0 0}
{one BYTE 9 1 123 123}
{sum RESW 8 0 1 3}
{diff RESW 8 0 1 3}
{prod RESW 8 0 1 3}
{quot RESW 8 0 1 3}
{mod RESW 8 0 1 { WORD 9 3 400 1200} WORD 9 3 400 1200}

View file

@ -1,7 +0,0 @@
mojprg START 0
LDA TAB3
END mojprg
halt J halt
LAB WORD 2
TAB RESB 31000
TAB3 BYTE 1

View file

@ -1,16 +0,0 @@
***** Section <default> *****
Stats: size=31010 blocks=31010 symbols=5 literals=0 relocations=0
Blocks
name start size #ins #dir #sto
<default> 00000 07922 2 4 1
Symbols
name hex dec scope kind type description
LAB 000006 6 local relative data label
TAB 000009 9 local relative data label
TAB3 007921 31009 local relative data label
halt 000003 3 local relative code label
mojprg 000000 0 exported relative code label
Literals
label definition
Relocations
address length flag symbol

View file

@ -1,7 +0,0 @@
00000 mojprg START 0
00000 007921 LDA TAB3
00003 END mojprg
00003 3F2FFD halt J halt
00006 000002 LAB WORD 2
00009 00....00 TAB RESB 31000
07921 01 TAB3 BYTE 1

View file

@ -1,4 +0,0 @@
Hmojprg000000007922
T000000090079213F2FFD000002
T0079210101
E000000

View file

@ -1,21 +0,0 @@
***** Section <default> *****
Stats: size=79 blocks=79 symbols=9 literals=0 relocations=1
Blocks
name start size #ins #dir #sto
<default> 00000 0004F 19 4 5
Symbols
name hex dec scope kind type description
HALT 000037 55 local relative code label
arith 000000 0 exported relative code label
diff 000043 67 local relative data label
mod 00004C 76 local relative data label
prod 000046 70 local relative data label
quot 000049 73 local relative data label
sum 000040 64 local relative data label
x 00003A 58 local relative data label
y 00003D 61 local relative data label
Literals
label definition
Relocations
address length flag symbol
00001 5

View file

@ -1,32 +0,0 @@
00000 arith START 0
00000 0310003A +LDA x
00004 1B2036 ADD y
00007 0F2036 STA sum
0000A 03202D LDA x
0000D 1F202D SUB y
00010 0F2030 STA diff
00013 032024 LDA x
00016 232024 MUL y
00019 0F202A STA prod
0001C 03201B LDA x
0001F 27201B DIV y
00022 0F2024 STA quot
00025 032015 LDA y
00028 23201E MUL quot
0002B 0F201E STA mod
0002E 032009 LDA x
00031 1F2018 SUB mod
00034 0F2015 STA mod
00037 3F2FFD HALT J HALT
0003A END arith
0003A 00000B x WORD 11
0003D 000005 y WORD 5
00040 000000 sum RESW 1
00043 000000 diff RESW 1
00046 000000 prod RESW 1
00049 000000 quot RESW 1
0004C 000000 mod RESW 1

View file

@ -1,6 +0,0 @@
Harith 00000000004F
T0000001E0310003A1B20360F203603202D1F202D0F20300320242320240F202A0320
T00001E1E1B27201B0F202403201523201E0F201E0320091F20180F20153F2FFD0000
T00003C040B000005
M00000105
E000000

View file

@ -1,38 +0,0 @@
arithr START 0 .komentar1
LDX #10
SHIFTR A, 10
LDS #11 .komentar2
LDT #5
LDA ZERO
ADDR S, A
ADDR T, A
STA sum
LDA ZERO
ADDR S, A
SUBR T, A
STA diff
LDA ZERO
ADDR S, A
MULR T, A
STA prod
LDA ZERO
ADDR S, A
DIVR T, A
STA quot
LDA ZERO
ADDR S, A
LOOP SUBR T, A .komentar5
COMPR A, T
JGT LOOP
JEQ LOOP
STA mod
HALT J HALT
END arithr
ZERO WORD 0
one BYTE 123 .KOMETA R
sum RESW 1
diff RESW 1
prod RESW 1
quot RESW 1 .komentar6
mod RESW 1
WORD 400 . WER

View file

@ -1,6 +0,0 @@
HARITH 00000000004F
T0000001C0310003A1B20360F203603202D1F202D0F20300320242320240F202A
T00001C1E03201B27201B0F202403201523201E0F201E0320091F20180F20153F2FFD
T00003A0600000B000005
M00000105
E000000

View file

@ -1,17 +0,0 @@
PRG START 0
LDA #bytes_len
DIV #3
LDA bytes_len
LDB tab
BASE tab
NOBASE
HALT J HALT
END PRG
tab0 RESB 2
tab WORD 1
WORD 2
WORD 3
test EQU *
bytes_len EQU test - tab
tab2 WORD 1

View file

@ -1,10 +0,0 @@
package main
import (
"fmt"
)
func main() {
x := "srq"
fmt.Printf("|%-*s|", 4, x)
}

View file

@ -1,18 +0,0 @@
***** Section <default> *****
Stats: size=29 blocks=29 symbols=7 literals=0 relocations=0
Blocks
name start size #ins #dir #sto
<default> 00000 0001D 5 10 1
Symbols
name hex dec scope kind type description
HALT 00000C 12 local relative code label
PRG 000000 0 exported relative code label
bytes_len 000009 9 local absolute notlabel test-tab
tab 000011 17 local relative data label
tab0 00000F 15 local relative data label
tab2 00001A 26 local relative data label
test 00001A 26 local absolute notlabel *
Literals
label definition
Relocations
address length flag symbol

View file

@ -1,17 +0,0 @@
00000 PRG START 0
00000 010009 LDA #bytes_len
00003 250003 DIV #3
00006 030009 LDA bytes_len
00009 6B2005 LDB tab
00009 BASE tab
00009 NOBASE
0000C 3F2FFD HALT J HALT
0000F END PRG
0000F 0000 tab0 RESB 2
00011 000001 tab WORD 1
00014 000002 WORD 2
00017 000003 WORD 3
0001A test EQU *
0001A bytes_len EQU test-tab
0001A 000001 tab2 WORD 1

View file

@ -1,4 +0,0 @@
HPRG 00000000001D
T0000000F0100092500030300096B20053F2FFD
T0000110C000001000002000003000001
E000000