Registers are faster because ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Registers are faster because ?

can we see registers physically ? how many registers are there for one cpu ?

16th Mar 2018, 7:18 AM
Vamsi Krishna
Vamsi Krishna - avatar
1 ответ
+ 3
Number and size of registers are different among various Processors. A register may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters). i7 has 8 registers in 32 bit and 16 registers in 64 bit. Reading/writing registers isn't easily possible in C, and you have to use Assembly for complete access to registers.
16th Mar 2018, 8:21 AM
H. Ahmadian
H. Ahmadian - avatar