aboutsummaryrefslogtreecommitdiffstats
path: root/notes.md
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-05-27 22:09:43 +0000
committers-ol <s-ol@users.noreply.github.com>2020-05-27 22:09:43 +0000
commit81de967626ef1d828389dead9545067409c83df9 (patch)
tree151a5b26ad2ab8616b5a92c8419d785980e2ad43 /notes.md
parentoutput emulatable .elf (diff)
downloadsubv-81de967626ef1d828389dead9545067409c83df9.tar.gz
subv-81de967626ef1d828389dead9545067409c83df9.zip
implement u-format for JAL
Diffstat (limited to 'notes.md')
-rw-r--r--notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes.md b/notes.md
index f3e80bc..4351b27 100644
--- a/notes.md
+++ b/notes.md
@@ -117,7 +117,7 @@ opcode: 0b0010111 / 0x17
- imm20: top 20 bits of offset added to PC
- result stored in rd
-## UJ-Format: op(imm20/21) -> rd
+## U-Format: op(imm20/21) -> rd
`opcode[7] rd[5] imm31:12[20]`
immediates on a 32bit scale (jal)