aboutsummaryrefslogtreecommitdiffstats
path: root/src/viz.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-25 10:46:15 -0300
committerBad Diode <bd@badd10de.dev>2022-04-25 10:46:15 -0300
commit46c86de715afcf15af6dc4532969d0736a3a2e48 (patch)
tree7a37685636a83d13c30d4595d4bfedcc6edc0c0f /src/viz.c
parentd30601a02fe1af1eb43f15eabf6a427baedfce14 (diff)
downloadbdl-46c86de715afcf15af6dc4532969d0736a3a2e48.tar.gz
bdl-46c86de715afcf15af6dc4532969d0736a3a2e48.zip
Add BASM generation for numeric comparisons
Diffstat (limited to 'src/viz.c')
-rw-r--r--src/viz.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/viz.c b/src/viz.c
index eb5631b..3d6a0f7 100644
--- a/src/viz.c
+++ b/src/viz.c
@@ -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);