What happens when a CPU starts
It describes old 8-bit machines.
New machines start by executing instructions firmware ROM or in cache memory before RAM is tested and initialized.Additionally the reset registers differ by the platform.
(Some platforms expect software to initialize and reset some registers.)