diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 21:27:45 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 21:27:45 +0100 |
commit | f73604ba6e141ccb4bd5c9b0783cd6128656ed31 (patch) | |
tree | 59e75368e7b17b7985a70c01a6aad17c67508228 /src | |
parent | f513e90f001f1957d5ae5baba102a0b7b611dcfb (diff) | |
download | ovm-f73604ba6e141ccb4bd5c9b0783cd6128656ed31.tar.gz ovm-f73604ba6e141ccb4bd5c9b0783cd6128656ed31.tar.bz2 ovm-f73604ba6e141ccb4bd5c9b0783cd6128656ed31.zip |
Make error TODOs specific to routine (for vm_mov_*)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,7 +131,7 @@ void vm_mov_byte(vm_t *vm, data_t b, word reg) void vm_mov_word(vm_t *vm, data_t w, word reg) { if (reg >= VM_WORD_REGISTERS) - // TODO: Error (reg is not a valid byte register) + // TODO: Error (reg is not a valid word register) return; vm->registers.w[reg] = w.as_word; } @@ -139,7 +139,7 @@ void vm_mov_word(vm_t *vm, data_t w, word reg) void vm_mov_float(vm_t *vm, data_t f, word reg) { if (reg >= VM_FLOAT_REGISTERS) - // TODO: Error (reg is not a valid byte register) + // TODO: Error (reg is not a valid float register) return; vm->registers.f[reg] = f.as_float; } |