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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With