aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/sp-load-store.adoc
blob: 6b1fe4951732b8a0d6a116e37f8944d83a81c2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//## 12.5 Single-Precision Load and Store Instructions

[wavedrom, ,svg]
....
{reg: [
  {bits: 7,  name: 'opcode',    attr: ['7', 'LOAD-FP']},
  {bits: 5,  name: 'rd',        attr: ['5', 'dest']},
  {bits: 3,  name: 'width',     attr: ['3', 'H']},
  {bits: 5,  name: 'rs1',       attr: ['5', 'base']},
  {bits: 12, name: 'imm[11:0]', attr: ['12', 'offset[11:0]']},
]}
....

[wavedrom, ,svg]
....
{reg: [
  {bits: 7,  name: 'opcode',    attr: ['7', 'STORE-FP']},
  {bits: 5,  name: 'imm[4:0]',  attr: ['5', 'offset[4:0]']},
  {bits: 3,  name: 'width',     attr: ['3', 'H']},
  {bits: 5,  name: 'rs1',       attr: ['5', 'base']},
  {bits: 5,  name: 'rs2',       attr: ['5', 'src']},
  {bits: 7, name: 'imm[11:5]', attr: ['7', 'offset[11:5]']},
]}
....