Skip to content

Commit

Permalink
Merge pull request #31 from YuzukiHD/dev
Browse files Browse the repository at this point in the history
[docs] fix rv64 using b huh
  • Loading branch information
YuzukiTsuru committed Feb 23, 2024
2 parents 219b188 + e5e030f commit f3a2a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Based on this explanation, the highest 8 bits of the instruction encoding are: 0

The jump_instruction field stores a jump instruction: (B BACK_OF_boot_file_head). When this jump instruction is executed, the program will jump to the first instruction after the boot_file_head.

The B instruction encoding in ARM instructions is as follows:
The Unconditional Jumps instruction encoding in RISC-V instructions is as follows:

```c
#define BROM_FILE_HEAD_SIZE (sizeof(boot_file_head_t) & 0x00FFFFF)
Expand Down

0 comments on commit f3a2a39

Please sign in to comment.