RISC-V: Difference between revisions

From Hegemon Wiki
Jump to navigation Jump to search
Line 3: Line 3:
==Minimum Sized ISA==
==Minimum Sized ISA==
* 5-Bits specify register. 33 registers (r0 is always 0). 4-bits will get you 16, 3-Bits will get you 8.
* 5-Bits specify register. 33 registers (r0 is always 0). 4-bits will get you 16, 3-Bits will get you 8.
* All the 32-bit instructions in the base ISA have their lowest two bits set to 11


* [http://stackoverflow.com/questions/29618439/what-is-the-size-of-integer-in-8-bit-16-bit-32-bit-processors-microcontrollersOn an 8-bit Atmel AVR Arduino, sizeof(int) returns 2 (e.g. 16-bits) when compiled with GCC 4.3.2 (WinAVR 20081205)]
* [http://stackoverflow.com/questions/29618439/what-is-the-size-of-integer-in-8-bit-16-bit-32-bit-processors-microcontrollersOn an 8-bit Atmel AVR Arduino, sizeof(int) returns 2 (e.g. 16-bits) when compiled with GCC 4.3.2 (WinAVR 20081205)]

Revision as of 06:48, 2 November 2016

Instructions in binary

Minimum Sized ISA

  • 5-Bits specify register. 33 registers (r0 is always 0). 4-bits will get you 16, 3-Bits will get you 8.
  • All the 32-bit instructions in the base ISA have their lowest two bits set to 11