From 8376795d0d2cb1b99d7783921f060003fb172685 Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Fri, 17 Jun 2022 19:40:44 +0200 Subject: [PATCH] Updated assembly type in doc gen --- src/hence/firmware/documentation.md.ecr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hence/firmware/documentation.md.ecr b/src/hence/firmware/documentation.md.ecr index 234c1bc..3dbc482 100644 --- a/src/hence/firmware/documentation.md.ecr +++ b/src/hence/firmware/documentation.md.ecr @@ -32,13 +32,13 @@ Opcode | Argument | Stack `0x<%= sorted_opcodes.find! { |opc| opc[1].name == opcode.name }[0].to_s(16).rjust(2, '0') %>` | <%= opcode.arg && "`#{opcode.arg}`" %> | <%= (opcode.stack.input.size > 0 || opcode.stack.output.size > 0) ? "`#{input}--#{output}`" : nil %> <%- if opcode.example -%> -```gnuassembler +```assembly ; Example <%= opcode.example -%> ``` <%- end -%> -```gnuassembler +```assembly ; Microcode <%= opcode.microcode -%> ```