Updated assembly type in doc gen

This commit is contained in:
Dominic Grimm 2022-06-17 19:40:44 +02:00
parent e7aee16737
commit 8376795d0d
No known key found for this signature in database
GPG key ID: A6C051C716D2CE65

View file

@ -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 %> `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 -%> <%- if opcode.example -%>
```gnuassembler ```assembly
; Example ; Example
<%= opcode.example -%> <%= opcode.example -%>
``` ```
<%- end -%> <%- end -%>
```gnuassembler ```assembly
; Microcode ; Microcode
<%= opcode.microcode -%> <%= opcode.microcode -%>
``` ```