Top "Computer-architecture" questions

The hardware microarchitecture (x86, x86_64, ARM, ...) of a CPU or microcontroller.

What does it mean by word size in computer?

I have tried to get a grasp of what "word" means and I have looked in the wiki and the …

word computer-architecture
Why is the range of signed byte is from -128 to 127 (2's complement) and not from -127 to 127?

I read Why is the range of bytes -128 to 127 in Java? it says 128 is 10000000. Inverted, it's 01111111, and adding one …

math bit-manipulation computer-architecture twos-complement
Aligning to cache line and knowing the cache line size

To prevent false sharing, I want to align each element of an array to a cache line. So first I …

c linux caching computer-architecture memory-alignment
Calculating average memory access time in a system implementing cache memory

In order to find avg memory access time we have the formula : Tavg = h*Tc +(1-h)*M where h = hit …

memory computer-architecture memory-access
What are some examples of non-Von Neumann architectures?

If I understand correctly modern computers are modeled after the Von Neumann architecture. I have sometimes seen reference to alternatives, …

computer-architecture
MIPS - How does MIPS allocate memory for arrays in the stack?

I'm quite new to the MIPS assembly language and am currently taking a class on computer architecture which has a …

assembly malloc mips computer-architecture
Writing a Register File in VHDL

I am trying to write a register file in VHDL. The file contains 16 64-bit registers. Each cycle, two registers are …

vhdl cpu-registers computer-architecture hdl
Confused between Temporal and Spatial locality in real life code

I was reading this question, I wanted to ask more about the code that he showed i.e for(i = 0; …

computer-science spatial computer-architecture temporal
System where 1 byte != 8 bit?

All the time I read sentences like don't rely on 1 byte being 8 bit in size use CHAR_BIT instead of 8 …

c++ c byte history computer-architecture
MIPS and ARM differences

I just started learning architecture and I have some confusions between MIPS and ARM architectures. I came to know that …

arm mips computer-architecture instructions