aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/parser.c b/asm/parser.c
index 4eff0a5..4667eaf 100644
--- a/asm/parser.c
+++ b/asm/parser.c
@@ -524,7 +524,7 @@ perr_t process_presults(presult_t *results, size_t res_count,
case PRES_LABEL: {
label_t label = {.name = res.label,
.name_size = strlen(res.label),
- .addr = inst_count + 1};
+ .addr = inst_count};
darr_append_bytes(&label_registry, (byte *)&label, sizeof(label));
break;
}