From: Lukas Krickl Date: Mon, 19 Feb 2024 14:33:57 +0000 (+0100) Subject: Removed todo comment that was resolved X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=bc55d2186327d33676925ba2cafe80f1bd13c09c;p=ulas%2F.git Removed todo comment that was resolved --- diff --git a/src/ulas.c b/src/ulas.c index 6cba149..3605d49 100644 --- a/src/ulas.c +++ b/src/ulas.c @@ -1765,15 +1765,11 @@ char *ulas_strexpr(const char **line, unsigned long n, int *rc) { return NULL; } -// TODO: instead of hard-coding the -// registers -// we should use a register table -// that is used to look up register tokens const char *ulas_asmregstr(unsigned int reg) { if (reg >= ulas.arch.regs_len) { return NULL; } - + return ulas.arch.regs_names[reg]; }