aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/simulator/simulator.ts
diff options
context:
space:
mode:
Diffstat (limited to 'novice/simulator/simulator.ts')
-rw-r--r--novice/simulator/simulator.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/novice/simulator/simulator.ts b/novice/simulator/simulator.ts
index b006841..dbeeeea 100644
--- a/novice/simulator/simulator.ts
+++ b/novice/simulator/simulator.ts
@@ -293,7 +293,6 @@ class Simulator {
if (field.kind === 'reg') {
fields.regs[field.name] = [field.prefix, val];
} else if (field.kind === 'imm') {
- // TODO: probs should be helper function
if (field.sext) {
val = sextTo(val, numBits);
}