2021-10-01 13:05:36 +02:00
|
|
|
<% def getInstructionGroups() {
|
|
|
|
def instrGroups = [:]
|
|
|
|
instructions.each {
|
|
|
|
def groupName = it['instruction'].eContainer().name
|
|
|
|
if(!instrGroups.containsKey(groupName)) {
|
|
|
|
instrGroups[groupName]=[]
|
|
|
|
}
|
|
|
|
instrGroups[groupName]+=it;
|
|
|
|
}
|
|
|
|
instrGroups
|
|
|
|
}%><%getInstructionGroups().each{name, instrList -> %>
|
|
|
|
${name}: <% instrList.findAll{!it.instruction.name.startsWith("__")}.each { %>
|
2021-10-01 23:49:04 +02:00
|
|
|
- ${it.instruction.name}:
|
2021-10-01 13:05:36 +02:00
|
|
|
encoding: ${it.encoding}
|
2022-06-19 12:45:34 +02:00
|
|
|
mask: ${it.mask}<%if(it.attributes.size) {%>
|
2023-05-27 10:20:49 +02:00
|
|
|
attributes: ${it.attributes}<%}%>
|
|
|
|
size: ${it.length}
|
|
|
|
branch: ${it.modifiesPC}
|
|
|
|
delay: ${it.isConditional?"[1,1]":"1"}<%}}%>
|
2021-10-01 13:05:36 +02:00
|
|
|
|