Skip to content

Commit f653cd0

Browse files
feature: condense overview section of inst pg tmpl (#765)
just make synopsis implicit by removing header and putting inst.description at top of page fixes #745
1 parent 5582130 commit f653cd0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

backends/manual/templates/instruction.adoc.erb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@
55

66
*<%= inst.long_name %>*
77

8-
== Assembly format
9-
10-
`<%= inst.name %> <%= inst.assembly.gsub('x', 'r') %>`
11-
12-
== Synopsis
8+
<%= inst.fix_entities(inst.description) %>
139

1410
<%- if inst.data_independent_timing? -%>
1511
[IMPORTANT]
1612
This instruction must have data-independent timing when extension `Zkt` is enabled.
1713
<%- end -%>
1814

19-
<%= inst.fix_entities(inst.description) %>
15+
== Assembly format
16+
17+
`<%= inst.name %> <%= inst.assembly.gsub('x', 'r') %>`
2018

2119
== Decode Variables
2220

0 commit comments

Comments
 (0)