Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the initial values of different registers in 8085?

I want to know about the initial values of all the registers: A, B, C, D, E, H, L, SP and PC.

Do general purpose registers like B contain garbage values, or are they initialized to zero?

And what about PC and SP? Are they dependent on manufacturer?

like image 473
Ranveer Singh Avatar asked Dec 06 '25 05:12

Ranveer Singh


1 Answers

CPU registers are usually volatile, just like the main memory. So after a power-on, register contents would depend on the material used to implement the registers. Some circuits may have power-on-reset functionality built in but that would cost valuable chip real estate.

If you are using a kit for 8085, then the implementation of the monitor program would determine the initial values of the registers. In general, the monitor program does not bother clearing the contents, it simply leaves them be after the boot-up. Thus you might get same (garbage) values every time you power-up the kit.

like image 62
codeR Avatar answered Dec 08 '25 23:12

codeR



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!