Reset vector

In computing, the reset vector is the default location a central processing unit will go to find the first instruction it will execute after a reset. The reset vector is a pointer or address, where the CPU should always begin as soon as it is able to execute instructions. The address is in a section of non-volatile memory (such as BIOS or Boot ROM) initialized to contain instructions to start the operation of the CPU, as the first step in the process of booting the system containing the CPU.[citation needed]

Examples

Below is a list of typically used addresses by different microprocessors:

x86 family (Intel)

  • The reset vector for the Intel 8086 processor is at physical address FFFF0h (16 bytes below 1 MB). The value of the CS register at reset is FFFFh and the value of the IP register at reset is 0000h to form the segmented address FFFFh:0000h, which maps to physical address FFFF0h.[1]
  • The reset vector for the Intel 80286 processor is at physical address FFFFF0h (16 bytes below 16 MB). The value of the CS register at reset is F000h with the descriptor base set to FF0000h and the value of the IP register at reset is FFF0h to form the segmented address FF0000h:FFF0h, which maps to physical address FFFFF0h in real mode.[2] This was changed to allow sufficient space to switch to protected mode without modifying the CS register.[3]
  • The reset vector for the Intel 80386 and later x86 processors is physical address FFFFFFF0h (16 bytes below 4 GB). The value of the selector portion of the CS register at reset is F000h, the value of the base portion of the CS register is FFFF0000h, and the value of the IP register at reset is FFF0h[4] to form the segmented address FFFF0000h:FFF0h, which maps to the physical address FFFFFFF0h in real mode.[5][6]

Others

  • The reset vector for ARM processors is address 0x0[7][8] or 0xFFFF0000.[9] During normal execution RAM is re-mapped to this location to improve performance, compared to the original ROM-based vector table.[10]
  • The reset vector for MIPS32 processors is at virtual address 0xBFC00000,[11] which is located in the last 4 Mbytes of the KSEG1 non-cacheable region of memory.[12] The core enters kernel mode both at reset and when an exception is recognized, hence able to map the virtual address to physical address.[13]
  • The reset vector for PowerPC/Power ISA processors is at an effective address of 0x00000100 for 32-bit processors and 0x0000000000000100 for 64-bit processors.
  • The reset vector for SPARC version 8 processors is at an address of 0x00000000;[14] the reset vector for SPARC version 9 processors is at an address of 0x20 for power-on reset, 0x40 for watchdog reset, 0x60 for externally initiated reset, and 0x80 for software-initiated reset.[15]
  • The reset vector for 68000 processor family is 0x00000000 for Initial Interrupt Stack Register (IISR; Not really a reset vector and is used to initialize the stack pointer after reset.) and 0x00000004 for initial program counter (reset).[16]

8-bit processors

  • The reset vector for 6502 processor family is a 16-bit address stored at 0xFFFC and 0xFFFD.
  • The reset vector for 6800 and 6809 processor families is a 16-bit address stored at 0xFFFE and 0xFFFF.
No Reset Vector
  • For 8051 / 8080 / 8085 / Z80, reset starts code execution at address 0x0000.
  • For AVR, reset starts code execution at address 0x0000; often a Relative Jump instruction (RJMP) is placed here to jump to the reset handling routine within the bottom 4K of memory.
  • For PIC, reset starts code execution at address 0x0000.

See also

References

  1. ^ "iAPX 86,88 User's Manual" (PDF). Intel. 1981. System Reset, p. 2-29, table 2-4. Retrieved April 15, 2018.
  2. ^ "AMD 80286 Datasheet" (PDF). AMD. 1985. p. 13. the 286 begins execution in real mode with the instruction at physical location FFFFF0H.
  3. ^ "iAPX 286 Programmer's Reference Manual" (PDF). Intel. 1983. Appendix D, iAPX 86/88 Software Compatibility Considerations, p. D-2. Retrieved April 15, 2018. After reset, CS:IP = F000:FFF0 on the iAPX 286. This change was made to allow sufficient code space to enter protected mode without reloading CS.
  4. ^ "80386 Programmer's Reference Manual" (PDF). Intel. 1990. Section 10.1 Processor State After Reset, pages 10-1 - 10.3.
  5. ^ "80386 Programmer's Reference Manual" (PDF). Intel. 1990. Section 10.2.3 First Instruction, p. 10-4. Retrieved November 3, 2013. Execution begins with the instruction addressed by the initial contents of the CS and IP registers. To allow the initialization software to be placed in a ROM at the top of the address space, the high 12 bits of addresses issued for the code segment are set, until the first instruction which loads the CS register, such as a far jump or call. As a result, instruction fetching begins from address 0FFFFFFF0H.
  6. ^ "Intel® 64 and IA-32 Architectures Software Developer's Manual" (PDF). Intel. May 2012. Section 9.1.4 First Instruction Executed, p. 2611. Archived from the original (PDF) on 2012-08-08. Retrieved August 23, 2012. The first instruction that is fetched and executed following a hardware reset is located at physical address FFFFFFF0h. This address is 16 bytes below the processor's uppermost physical address. The EPROM containing the software-initialization code must be located at this address.
  7. ^ "5.9.1. Vector Table and Reset". Cortex-M3 Technical Reference Manual. Retrieved 2017-11-10.
  8. ^ "Table 4-11 AArch64 reset registers". CortexARM Cortex-A72 MPCore Processor Technical Reference Manual r0p3. Retrieved 2024-01-30.
  9. ^ "Documentation – Arm Developer". developer.arm.com. Retrieved 2024-06-21.
  10. ^ "Boot sequence for an ARM based embedded system -2 - DM". www.embeddedrelated.com. Retrieved 2017-11-10.
  11. ^ "MIPS32 Architecture For Programmers; Vol III: The MIPS32 Privileged Resource Architecture" (PDF). MIPS Technologies.
  12. ^ Noergaard, Tammy (2005-02-28). Embedded Systems Architecture: A Comprehensive Guide for Engineers and Programmers. Elsevier. ISBN 9780080491240.
  13. ^ "MIPS32 M4K Processor Core Software User's Manual" (PDF). cdn2.imgtec.com. August 29, 2008. Archived from the original (PDF) on 2017-08-26.
  14. ^ The SPARC Architecture Manual, Version 8. SPARC International. p. 75.
  15. ^ The SPARC Architecture Manual, Version 9. SPARC International. pp. 109–112.
  16. ^ Labrosse, Jean J. (2008). Embedded Software. Newnes. ISBN 9780750685832.

Read other articles:

Air menutupi 70% bagian permukaan bumi Hidrologi (berasal dari Bahasa Yunani: Yδρoλoγια, Yδωρ+Λoγos, Hydrologia, ilmu air) adalah cabang ilmu Geografi yang mempelajari pergerakan, distribusi, dan kualitas air di seluruh Bumi, termasuk siklus hidrologi dan sumber daya air. Orang yang ahli dalam bidang hidrologi disebut hidrolog, bekerja dalam bidang ilmu bumi dan ilmu lingkungan, serta teknik sipil dan teknik lingkungan.[1]Bagian dari seriIlmu Pengetahuan Formal Logika Matem...

Javorová dolina Lage Prešovský kraj, Slowakei Gewässer Javorinka Gebirge Hohe Tatra, Tatra, Karpaten Geographische Lage 49° 14′ 30″ N, 20° 9′ 28″ O49.24166666666720.157777777778Koordinaten: 49° 14′ 30″ N, 20° 9′ 28″ O Javorová dolina (Slowakei) Länge 10 km Klima Hochgebirgsklima Die Javorová dolina (ungenau auch Javorinská dolina oder Dolina Javorinky genannt; deutsch Jaworowatal, Ahorntal, Uhr[e...

Lago de Walen Walensee Vista de satélite del lago (NASA)Ubicación geográficaContinente Europa centralRegión Suiza orientalCuenca Río RinCoordenadas 47°07′00″N 9°12′00″E / 47.116666666667, 9.2Ubicación administrativaPaís Suiza SuizaDivisión  Glaris  San GaloSubdivisión Distritos de Sarganserland y See-GasterPresaTipo Lago de agua dulceCuerpo de aguaOrigen Tectónico y glaciarTiempo retención 1,425 añosIslas interiores Varios islotesAfluentes ...

Sporting event delegationSamoa at theOlympicsIOC codeSAMNOCSamoa Association of Sports and National Olympic CommitteeWebsitewww.sasnoc.comMedalsRanked 134th Gold 0 Silver 1 Bronze 0 Total 1 Summer appearances19841988199219962000200420082012201620202024 Samoa (or Western Samoa until 1996) first participated at the Olympic Games in 1984, and has sent athletes to compete in every Summer Olympic Games since then. The nation has never participated in the Winter Olympic Games. The National Olympic ...

هذه المقالة بحاجة لصندوق معلومات. فضلًا ساعد في تحسين هذه المقالة بإضافة صندوق معلومات مخصص إليها. يشمل فريق إدارة الألم النموذجي ممارسين طبيين، وصيادلة، وعلماء نفس سريريين، ومعالجين نفسيين، ومعالجين مهنيين، ومساعدي أطباء، وممرضات. قد يضم الفريق أيضًا اختصاصيين آخرين في...

دار الكتاب المقدس الألمانيةالتاريخالتأسيس 1981 الإطارالنوع دار الكتاب المقدسدار نشرمؤسسة الوضع القانوني kirchliche Stiftung öffentlichen Rechts (de) المقر الرئيسي شتوتغارت البلد  ألمانيا التنظيمالانتماء Arbeitsgemeinschaft Missionarische Dienste (en) [1] — Evangelical Missions Agency (en) موقع الويب die-bibel.de (الألمانية) تع

Aveiro Aveiro adalah kota yang terletak di sebelah barat Portugal. Luasnya adalah 199,77 km² dan penduduknya berjumlah 73.626 jiwa (2004). Aveiro adalah ibu kota Distrik Aveiro dan terdiri dari 14 freguesia (semacam kecamatan). Kota kembar - Viseu, Portugal - Viana do Castelo, Portugal, sejak 1910 - Belém, Brasil, sejak 1970 - Pelotas, Brasil, sejak 1970 - Ōita, Japan, sejak 1978 - Bourges, Prancis, sejak 1989 - Inhambane, Mozambik, sejak 1989 - Arcachon, Prancis, sejak 1989 - Ciudad Rodri...

The Prairie KingPoster filmSutradara B. Reeves Eason Produser Carl Laemmle Ditulis oleh Frank Howard Clark Berdasarkansebuah cerita karya William Wallace CookPemeranHoot GibsonSinematograferHarry NeumannDistributorUniversal PicturesTanggal rilis15 Mei 1927Durasi60 menit; 6 rolNegara Amerika Serikat BahasaFilm bisu dengan antar judul Inggris The Prairie King adalah sebuah film koboi bisu tahun 1927 garapan B. Reeves Eason dan menampilkan Hoot Gibson. Film tersebut diproduksi dan didistribusika...

Brazilian singer-songwriter (born 1965) In this Portuguese name, the first or maternal family name is Mercuri and the second or paternal family name is de Almeida. Daniela MercuryDaniela Mercury in 2010.Background informationBirth nameDaniela Mercuri de AlmeidaBorn (1965-07-28) July 28, 1965 (age 58)Salvador, Bahia, BrazilGenresLatin popaxésamba reggaeMPBOccupation(s)Singersongwriterrecord producerdancerInstrument(s)VocalsYears active1989–presentLabels Estúdio Eldorado Epic BMG/M...

2011 IIHF Women's World ChampionshipTournament detailsHost country  SwitzerlandDatesApril 16–25Opened byMicheline Calmy-ReyTeams8Venue(s)2 (in 2 host cities)Final positionsChampions  United States (4th title)Runner-up  CanadaThird place  FinlandFourth place RussiaTournament statisticsGames played21Goals scored129 (6.14 per game)Attendance28,437 (1,354 per game)Scoring leader(s) Hilary Knight (14 points)MVP Zuzana Tomč

Meriam antitank 37 mm Tipe 1 Meriam antitank 37 mm Tipe 1 Jenis Senjata antitank Negara asal Jepang Sejarah pemakaian Masa penggunaan 1941–1945 Digunakan oleh Angkatan Darat Kekaisaran Jepang Pada perang Perang Dunia II Sejarah produksi Tahun 1941 Jumlah produksi 2.300 Spesifikasi Berat 725 pon (329 kg) Panjang laras 1,85 m (50 kaliber) Selongsong peluru 37×254 mm. R Kaliber 37 mm Mekanisme Pemuatan sungsang Elevasi -10 hingga +36 derajat Kecepatan p...

Reality television personality Nicky MonetMonet in 2022NationalityAmericanOccupation(s)Television presenter, Reality television personality & Drag performer Nicky Monet is an American transgender television presenter, reality television personality and drag performer.[1] She is known for participating in a slew of reality TV series including Slag Wars,[2][3] Hot Haus[4][5] and Iconic Justice.[6] Career In 2021, she received international rec...

Stasiun Pariaman P12 Aktivitas penumpang di Stasiun Pariaman, 2019.LokasiJalan Pangeran DiponegoroKampung Pondok I, Pariaman Tengah, Pariaman, Sumatera BaratIndonesiaKetinggian+2 mOperatorKereta Api IndonesiaDivisi Regional II Sumatera BaratLetak dari pangkalkm 60+520 lintas Teluk Bayur–Padang–Lubuk Alung–Naras[1]Jumlah peron3 (satu peron sisi dan dua peron pulau yang sama-sama agak rendah)Jumlah jalur2 (jalur 1: sepur lurus)Informasi lainKode stasiunPMN7103[2]Klasifikas...

American guitarist, singer and songwriter Dickey BettsBetts at the Pistoia Blues Festival, Pistoia, Italy, July 2008Background informationBirth nameForrest Richard BettsAlso known asDickey Betts, The Ramblin' ManBorn (1943-12-12) December 12, 1943 (age 79)West Palm Beach, Florida, U.S.GenresRock, country, blues, jam, jazz, Southern rockOccupation(s)Musician, songwriterInstrument(s)Guitar, vocals, dobroYears active1960–presentMember ofDickey Betts BandFormerly ofThe Allman Brothers Band...

British four-piece indie pop band This article is about the band. For other uses, see Spook School (disambiguation). The Spook SchoolThe Spook School in 2017Background informationOriginEdinburgh, ScotlandGenresIndie popPop punkQueercoreYears active2011 (2011)–2019 (2019)LabelsFortuna Pop!Slumberland RecordsAlcopop! RecordsMembersNye ToddAdam ToddAC Cory[1]Niall McCamley[2]Websitethespookschool.com The Spook School were a British four-piece indie pop band from Edinb...

А — Барабанная перепонка; B — Молоточек; C — Наковальня; D — Стремя; E — Барабанная полость. Тимпанопластика (от греч. tympo — ударяю, бью, новолат. tympanoplasty) — хирургическая операция, которая заключается в санировании полости среднего уха, восстановлении ...

Some of this article's listed sources may not be reliable. Please help this article by looking for better, more reliable sources. Unreliable citations may be challenged or deleted. (September 2019) (Learn how and when to remove this template message) 2K is an American video game publisher based in Novato, California. The company was founded under Take-Two Interactive in January 2005 through the 2K Games and 2K Sports labels, following Take-Two Interactive's acquisition of Visual Concepts that...

Stare Pole Państwo  Polska Miejscowość Stare Pole Poprzednie nazwy Altfelde Dane techniczne Liczba peronów 2 Liczba krawędziperonowych 3 Kasy czynne Linie kolejowe 204 Malbork – Braniewo Położenie na mapie gminy Stare PoleStare Pole Położenie na mapie PolskiStare Pole Położenie na mapie województwa pomorskiegoStare Pole Położenie na mapie powiatu malborskiegoStare Pole 54°03′14″N 19°12′29″E/54,053889 19,208056 Stare Pole – stacja kolejowa we Starym P...

Pandemi COVID-19 di UzbekistanPeta persebaran di Uzbekistan menurut wilayah (pada 13 Mei 2020)    > 10000 kasus   > 1000 kasus   > 100 kasus   > 10 kasus   < 10 kasusPenyakitCOVID-19Galur virusSARS-CoV-2LokasiUzbekistanKasus pertamaTashkentTanggal kemunculan15 Maret 2020(3 tahun, 8 bulan, 1 minggu dan 4 hari)AsalPrancisKasus terkonfirmasi16.186[1]Kasus sembuh9.127[1]Kematian83[1]Situs ...

For other uses, see Northwest Passage (disambiguation). 21st episode of the 2nd season of Fringe Northwest PassageFringe episodePeter and Sheriff Mathis (guest actor Martha Plimpton) autopsy a bodyEpisode no.Season 2Episode 21Directed byJoe ChappelleWritten byAshley Edward MillerZack StentzNora ZuckermanLilla ZuckermanFeatured musicMike McCreadyProduction code3X5120Original air dateMay 6, 2010 (2010-05-06)Guest appearances Michael Cerveris as The Observer Martha Plimpton a...