aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/c-andi.adoc
blob: 5eca6442b283f5d3357159c443acedc9ca4717e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//c-andi.adoc

[wavedrom, ,svg]
....
{reg: [
  {bits: 2, name: 'op',    type: 5, attr: ['2','C1'],},
  {bits: 5, name: 'imm[4:0]',    type: 5, attr: ['5','imm[4:0]']},
  {bits: 3, name: 'rd′/rs1′',    type: 5, attr: ['3','dest'],},
  {bits: 2, name: 'funct2',     type: 5, attr: ['2','C.ANDI'],},
  {bits: 1, name: 'imm[5]',    type: 1, attr: ['1','imm[5]'],},
  {bits: 3, name: 'funct3', type: 5, attr: ['3','C.ANDI'],},
]}
....