summaryrefslogtreecommitdiff
path: root/Assembler/Assembler.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-07 00:02:00 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-07 00:02:00 +1000
commit33e1c5fc6e37549b4eba833ae7e534f9da250b10 (patch)
tree051c846326eae94712337baf4ac65ce837d02b95 /Assembler/Assembler.cs
parent7a8d2bcd75d88a5429937bf551878c55e1dcf0fd (diff)
added binary, logical and bitwise operators to compiler
Diffstat (limited to 'Assembler/Assembler.cs')
-rw-r--r--Assembler/Assembler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assembler/Assembler.cs b/Assembler/Assembler.cs
index 7c172e7..d2f79ed 100644
--- a/Assembler/Assembler.cs
+++ b/Assembler/Assembler.cs
@@ -29,7 +29,7 @@ public class Assembler
private void ResolveLabels()
{
- int offset = 0;
+ int offset = Q1Cpu.ProgramStart;
int pos = 0;
foreach (string line in this.InputLines)
{