mirror of
https://github.com/Artoriuz/maestro.git
synced 2025-04-18 18:44:44 -04:00
20 lines
No EOL
497 B
Text
20 lines
No EOL
497 B
Text
Fibonacci RISC-V RV32I ASM
|
|
=============================
|
|
|
|
ADDI x2, x0, 1;
|
|
ADD x31, x0, x2; --debug the result
|
|
ADD x1, x1, x2;
|
|
ADD x31, x0, x1; --debug the result
|
|
ADD x2, x2, x1;
|
|
ADD x31, x0, x2; --debug the result
|
|
JALR x0, x0, 8;
|
|
|
|
=============================
|
|
|
|
00000000000100000000000100010011
|
|
00000000001000000000111110110011
|
|
00000000001000001000000010110011
|
|
00000000000100000000111110110011
|
|
00000000000100010000000100110011
|
|
00000000001000000000111110110011
|
|
00000000100000000000000001100111 |