diff options
Diffstat (limited to 'asm/parser.c')
-rw-r--r-- | asm/parser.c | 2 |
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; } |