Skip to content

Commit 38f0ad5

Browse files
committed
finally finished
1 parent 1468e2d commit 38f0ad5

File tree

10 files changed

+2959
-1895
lines changed

10 files changed

+2959
-1895
lines changed

Error_Handler.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
line 6 : ERROR: variable d is not defined.
2+
line 6 : WARNING: conflict data types.
3+
line 6 : ERROR: variable c is not defined.
4+
WARNING: Variable c is not used.
5+
Compilation Error.

Quadrables.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
MOV 6 R0
2+
MOV 3 R1
3+
ADD R0 R1 R2
4+
MOV R2 R3
5+
MOV 5 R4
6+
MUL R3 R4 R5
7+
MOV R5 a
8+
MOV a R6
9+
MOV 4 R7
10+
ADD R6 R7 R8
11+
MOV R8 R9
12+
MOV R9 b
13+
MOV b R10
14+
MOV R10 c

Symbol_Table.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Name Const Datatype Value Initialized Used Line
2+
a 0 Integer R5 1 0 1
3+
a 0 Integer R5 1 1 2
4+
b 0 Integer R9 1 0 2
5+
b 0 Integer R9 1 1 4
6+
c 0 Integer R10 1 0 4

bas.exe

411 KB
Binary file not shown.

0 commit comments

Comments
 (0)