diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-25 10:46:15 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-25 10:46:15 -0300 |
commit | 46c86de715afcf15af6dc4532969d0736a3a2e48 (patch) | |
tree | 7a37685636a83d13c30d4595d4bfedcc6edc0c0f /src/viz.c | |
parent | d30601a02fe1af1eb43f15eabf6a427baedfce14 (diff) | |
download | bdl-46c86de715afcf15af6dc4532969d0736a3a2e48.tar.gz bdl-46c86de715afcf15af6dc4532969d0736a3a2e48.zip |
Add BASM generation for numeric comparisons
Diffstat (limited to 'src/viz.c')
-rw-r--r-- | src/viz.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -309,6 +309,11 @@ viz_instruction(Instruction *inst, LineInfo *line) { | |||
309 | viz_operand(inst->src_b); | 309 | viz_operand(inst->src_b); |
310 | } | 310 | } |
311 | } break; | 311 | } break; |
312 | case OP_JMP: | ||
313 | case OP_LABEL: { | ||
314 | printf(" "); | ||
315 | viz_operand(inst->dst); | ||
316 | } break; | ||
312 | default: { | 317 | default: { |
313 | printf(" "); | 318 | printf(" "); |
314 | viz_operand(inst->dst); | 319 | viz_operand(inst->dst); |