This Github-Repo is to track my progress regarding RISC-V based hands-on project research internship
Install all the necessary files regarding internship such as riscv_workshop.vdi and visualC++ and oracle virtual-box(which is free and open source virtualization software).Download and do the installation steps and setup virtual machine(its an physical computer but inside a virtual environment)
sudo apt install LEAFPAD
cd
leafpad filename.c &
gcc.filename.C
./a.out
riscv64-unknown-elf-gcc -O1 -mabi=lp64 -march=rv64i -o filename.o filename.c
cat filename.C
ls -ltr filename.o
riscv64-unknown-elf-objdump -d filename.o
riscv64-unknown-elf-objdump -d filename.o | less
(as the above code gives a huge section but we need to Check the values in main and find them out by giving /main and n)
riscv64-unknown-elf-gcc -Ofast -mabi=lp64 -march=rv64i -o filename.o filename.c