You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Meaning |`<imm> (encoded)`|`rd`|`opcode`|`quadrant`|
105
+
| Value |`<imm>`| 15 | Jump and Link | 4th |
106
+
107
+
We therefore obtain `jal x15 <imm>```, where `<imm>` is the still to be decoded immediate.
108
+
109
+
All the instruction fields except `<imm>` are decodable just from the tables, for this instruction. For `<imm>` we have to further scramble some bits to decode it.
We therefore know the least significant bits `xxxxxxxxxxxxxxxxxxxx000001101111`. The rest is just an immediate, `<imm> = 30 `, which we now have to encode.
139
+
Then sign-extend it to cover all 32 bits of its width, converting `<imm> (bin)` = `11111111111111111110100` from `<imm> (bin)` = `-12` to `<imm> (bin)` = `10100`.
0 commit comments