From WikiChip
Difference between revisions of "Template:isa box"

 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| style="border: solid 1px #cc9900; width: 250px; float: right; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;"
+
<includeonly>{| style="border: solid 1px #cc9900; width: 300px; float: right; margin: 0 10px 10px 10px; text-align: left; font-size: 12px;"
| style="text-align: center; background: #cc9900; font-size: 16px; color: #f6ffe5;" colspan="2" | '''{{{name|}}} ISA'''
+
| style="text-align: center; background: #cc9900; font-size: 20px; color: #f6ffe5;" colspan="2" | '''[[name::{{{name|}}}]] ISA'''
 
|-
 
|-
| '''Developer''' || style="text-align:left;" | {{{developer}}}{{comma2|{{{developer 2|}}}}}{{comma2|{{{developer 3|}}}}}
+
| style="width: 125px;" | '''Developer''' || style="text-align:left;" | <!--
{{#if:{{{manufacturer|}}}|{{!-}}|<div></div>}}
+
  -->[[designer::{{{developer}}}]]<!--
{{#if:{{{manufacturer|}}}|{{!}} '''Manufacturer''' {{!}}{{!}} [[{{{manufacturer}}}]][[manufacturer::{{{manufacturer}}}| ]]|}}
+
  -->{{#if:{{{developer 2|}}}|<br>[[designer::{{{developer 2|}}}]]}}<!--
 +
  -->{{#if:{{{developer 3|}}}|<br>[[designer::{{{developer 3|}}}]]}}<!--
 +
  -->{{#if:{{{developer 4|}}}|<br>[[designer::{{{developer 4|}}}]]}}<!--
 +
  -->{{#if:{{{developer 5|}}}|<br>[[designer::{{{developer 5|}}}]]}}
 +
{{#if:{{{implementation|}}}|{{!-}}|<div></div>}}
 +
{{#if:{{{implementation|}}}|{{!}} '''Implementation''' {{!}}{{!}} [[{{lc:{{{developer}}}/{{{implementation}}}}}|{{{implementation}}}]][[implementation::{{{implementation}}}| ]]|}}
 
{{#if:{{{dev model|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{dev model|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{dev model|}}}|{{!}} '''Dev model ''' {{!}}{{!}} {{{dev model}}}|}}
 
{{#if:{{{dev model|}}}|{{!}} '''Dev model ''' {{!}}{{!}} {{{dev model}}}|}}
Line 10: Line 15:
 
{{#if:{{{design|}}}|{{!}} '''Design ''' {{!}}{{!}} {{{design}}}|}}
 
{{#if:{{{design|}}}|{{!}} '''Design ''' {{!}}{{!}} {{{design}}}|}}
 
{{#if:{{{data size|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{data size|}}}|{{!-}}|<div></div>}}
{{#if:{{{data size|}}}|{{!}} '''Data word size''' {{!}}{{!}} {{{data size}}}|}}
+
{{#if:{{{data size|}}}|{{!}} '''Data word size''' {{!}}{{!}} [[word size::{{{data size}}}]]<!--
 +
  -->{{#if: {{{data size 2|}}}|, [[word size::{{{data size 2}}}]]}}<!--
 +
  -->{{#if: {{{data size 3|}}}|, [[word size::{{{data size 3}}}]]}}<!--
 +
  -->{{#if: {{{data size 4|}}}|, [[word size::{{{data size 4}}}]]}}<!--
 +
  -->{{#if: {{{data size 5|}}}|, [[word size::{{{data size 5}}}]]}}<!--
 +
  -->{{#if: {{{data size 6|}}}|, [[word size::{{{data size 6}}}]]}}<!--
 +
  -->{{#if: {{{data size 7|}}}|, [[word size::{{{data size 7}}}]]}}<!--
 +
  -->{{#if: {{{data size 8|}}}|, [[word size::{{{data size 8}}}]]}}<!--
 +
  -->{{#if: {{{data size 9|}}}|, [[word size::{{{data size 9}}}]]}}<!--
 +
  -->{{#if: {{{data size 10|}}}|, [[word size::{{{data size 10}}}]]}}<!--
 +
  -->{{#if: {{{data size 11|}}}|, [[word size::{{{data size 11}}}]]}}<!--
 +
  -->{{#if: {{{data size 12|}}}|, [[word size::{{{data size 12}}}]]}}<!--
 +
-->|}}
 
{{#if:{{{inst size|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{inst size|}}}|{{!-}}|<div></div>}}
{{#if:{{{inst size|}}}|{{!}} '''Instruction word size''' {{!}}{{!}} {{{inst size}}}|}}
+
{{#if:{{{inst size|}}}|{{!}} '''Instruction word size''' {{!}}{{!}} [[instruction word size::{{{inst size}}}]]|}}
 
{{#if:{{{inst count|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{inst count|}}}|{{!-}}|<div></div>}}
{{#if:{{{inst count|}}}|{{!}} '''Instructions''' {{!}}{{!}} {{{inst count}}}|}}
+
{{#if:{{{inst count|}}}|{{!}} '''Instructions''' {{!}}{{!}} [[instruction count::{{{inst count}}}]]|}}
 
{{#if:{{{introduction|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{introduction|}}}|{{!-}}|<div></div>}}
{{#if:{{{introduction|}}}|{{!}} '''Introduction''' {{!}}{{!}} {{{introduction}}}|}}
+
{{#if:{{{introduction|}}}|{{!}} '''Introduction''' {{!}}{{!}} [[first launched::{{{introduction}}}]]|}}
 
{{#if:{{{version|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{version|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{version|}}}|{{!}} '''Version''' {{!}}{{!}} {{{version}}}|}}
 
{{#if:{{{version|}}}|{{!}} '''Version''' {{!}}{{!}} {{{version}}}|}}
Line 28: Line 45:
 
{{#if:{{{registers|}}}|{{!}} '''Registers''' {{!}}{{!}} {{{registers}}}|}}
 
{{#if:{{{registers|}}}|{{!}} '''Registers''' {{!}}{{!}} {{{registers}}}|}}
 
{{#if:{{{gprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{gprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{gprs|}}}|{{!}} '''GPRs''' {{!}}{{!}} {{{gprs}}}|}}
+
{{#if:{{{gprs|}}}|{{!}} '''GPRs''' {{!}}{{!}} {{{gprs}}} {{#if: {{{gprs info|}}}|({{{gprs info}}})}}|}}
 
{{#if:{{{fprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{fprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{fprs|}}}|{{!}} '''FPRs''' {{!}}{{!}} {{{fprs}}}|}}
+
{{#if:{{{fprs|}}}|{{!}} '''FPRs''' {{!}}{{!}} {{{fprs}}} {{#if: {{{fprs info|}}}|({{{fprs info}}})}}|}}
 
{{#if:{{{sprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{sprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{sprs|}}}|{{!}} '''SPRs''' {{!}}{{!}} {{{sprs}}}|}}
+
{{#if:{{{sprs|}}}|{{!}} '''SPRs''' {{!}}{{!}} {{{sprs}}} {{#if: {{{sprs info|}}}|({{{sprs info}}})}}{{#if:{{{spr|}}|<br />}}{{{spr|}}}{{comma2|{{{spr 1|}}}}}{{comma2|{{{spr 2|}}}}}{{comma2|{{{spr 3|}}}}}{{comma2|{{{spr 4|}}}}}|}}
 +
|-
 +
| style="text-align: center; background: #fff2cc;" colspan="2" | {{index|ISAs}} • {{index|ISAs by company|By Company}} • {{index|ISAs by instruction word size|By Inst}} • {{index|ISAs by data word size|By Data}}
 
|}[[Category:all isas]][[full page name::{{FULLPAGENAME}}| ]][[instance of::instruction set architecture| ]]</includeonly><noinclude>{{documentation}}</noinclude>
 
|}[[Category:all isas]][[full page name::{{FULLPAGENAME}}| ]][[instance of::instruction set architecture| ]]</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 13:14, 25 October 2016

Template:isa box/doc