Execute instruction

In a computer instruction set architecture (ISA), an execute instruction is a machine language instruction which treats data as a machine instruction and executes it.

It can be considered a fourth mode of instruction sequencing after ordinary sequential execution, branching, and interrupting.[1] Since it is an instruction that operates on other instructions like the repeat instruction, it has also been classified as a meta-instruction.[2]

Computer models

Many computer families introduced in the 1950s and 1960s include execute instructions: the IBM 709[1] and IBM 7090 (op code mnemonic: XEC),[3] the IBM 7030 Stretch (EX, EXIC),[4][1] the PDP-1/-4/-7/-9/-15 (XCT),[5][6] the UNIVAC 1100/2200 (EXRI),[7] the CDC 924 (XEC),[8] the PDP-6/-10 (XCT), the IBM System/360 (EX),[9] the GE-600/Honeywell 6000 (XEC, XED),[10] the SDS-9xx (EXU),[11] the SDS 92 (EXU),[12] and the SDS Sigma series (EXU).[13]

Fewer 1970s designs include execute instructions: the Nuclear Data 812 minicomputer (1971) (XCT),[14] the HP 3000 (1972) (XEQ),[15] and the Texas Instruments TI-990 (1975)[16] and its microprocessor version, the TMS9900 (1976) (X).[17] The Signetics 8X300 (1976) is a rare microprocessor design with an execute instruction. XEC executes one instruction from a table of 1 to 255 instructions. Most instructions act as single instruction subroutines but branches are used to implement jump tables.[18] An execute instruction was proposed for the PDP-11 in 1970,[19] but never implemented for it[20] or its successor, the VAX.[21]

Modern instruction sets do not include execute instructions because they interfere with pipelining, prefetching, and other optimizations.[citation needed]

Semantics

The instruction to be executed, the target instruction, may be in a register or fetched from memory. Some architectures allow the target instruction to itself be an execute instruction; others do not.

The target instruction is executed as if it were in the memory location of the execute instruction. If, for example, it is a subroutine call instruction, execution is transferred to the subroutine, with the return location being the location after the execute instruction. However, some architectures implement variants of the execute instruction which inhibit branches.[1]

The System/360 supports variable-length target instructions. It also supports modifying the target instruction before executing it. The target instruction must start on an even-numbered byte.[9]

The GE-600 series supports execution of two-instruction sequences, which must be doubleword-aligned.[10]

Some architectures support an execute instruction which operates in a different protection and address relocation mode. For example, the ITS PDP-10 paging device supports a privileged-mode XCTR 'execute relocated' instruction which allows memory reads, writes, or both to use the user-mode page mappings.[22] Similarly, the KL10 variant of the PDP-10 supports the privileged instruction PXCT 'previous context XCT'.[23]

The execute instruction can cause several problems when one execute instruction points to another one and so on:

  • the processor may be uninterruptible for multiple clock cycles if the execute instruction cannot be interrupted in the middle of execution;
  • similarly, the processor may go into an infinite loop if the series of execute instructions is circular and uninterruptible;
  • if the execute instructions are on different swap pages, all of the pages need to be swapped in for the instruction to complete, which can cause thrashing.

Similar issues arise with multilevel indirect addressing modes.

Applications

The execute instruction has several applications:[1]

  • Functioning as a single-instruction subroutine without the usual overhead of subroutine calls; that instruction may call a full subroutine if necessary.[1]
  • Late binding
    • Implementation of call by name and other thunks.[1]
    • A table of execute targets may be used for dynamic dispatch of the methods or virtual functions of an object or class, especially when the method or function may often be implementable as a single instruction.[20]
    • An execute target may contain a hook for adding functionality or for debugging; it is normally initialized as a NOP which may be overridden dynamically.
    • An execute target may change between a fast version of an operation and a fully traced version.[24][25][26]
  • Tracing, monitoring, and emulation
    • This may maintain a pseudo-program counter, leaving the normal program counter unchanged.[1]
  • Executing dynamically generated code, especially when memory protection prevents executable code from being writable.
  • Emulating self-modifying code, especially when it must be reentrant or read-only.[19]
  • In the IBM System/360, the execute instruction can modify bits 8-15 of the target instruction, effectively turning an instruction with a fixed argument (e.g., a length field) into an instruction with a variable argument.
  • Privileged-mode execute instructions as on the KL10 are used by operating system kernels to execute operations such as block copies within the virtual space of user processes.

Notes

  1. ^ a b c d e f g h Brooks, F.P. (March 1960). "The execute operations—a fourth mode of instruction sequencing". Communications of the ACM. 3 (3): 168–170. doi:10.1145/367149.367168. S2CID 37725430.
  2. ^ Rossman, George E. (December 1975). "A Course of Study in Computer Hardware Architecture". IEEE Computer. 8 (12): 44–63. doi:10.1109/C-M.1975.218835. S2CID 977792., p. 50
  3. ^ Reference Manual, IBM 7090 Data Processing System (PDF). IBM. March 1962. p. 36.
  4. ^ Reference Manual, 7030 Data Processing System (PDF). IBM. August 1961. p. 50.
  5. ^ Programmed Data Processor-1 Manual (PDF). Digital Equipment Corporation. 1961. p. 14.
  6. ^ Supnik, Bob. "Architectural Evolution in DEC's 18b Computers" (PDF). p. 8 (page numbers not shown).
  7. ^ Univac 1107 Central Computer (PDF). November 1961. p. 12-1.
  8. ^ Control Data 924 Computer Reference Manual (PDF). October 1962. p. 2-41.
  9. ^ a b IBM System/360 Principles of Operation (PDF). IBM. 1964. p. 65. A22-6821-0.
  10. ^ a b GE-635 System Manual (PDF). General Electric Computer Department. July 1964. p. A-5.
  11. ^ SDS 940 Theory of Operation (PDF). Scientific Data Systems. March 1967. p. 2-12. SDS-98-01-26A.
  12. ^ SDS 92 Computer. Scientific Data Systems. June 1965. p. 2-6.
  13. ^ Xerox SIGMA 7 Computer: Reference Manual (PDF). 90 09 5J; XG46, File No: 1X03 (0 ed.). Xerox Corporation. October 1973. pp. 70–71.{{cite book}}: CS1 maint: others (link)
  14. ^ Principles of Programming the ND812 Computer (PDF). Nuclear Data, Inc. 1971. p. 4-4.
  15. ^ HP 3000 Computer System: Machine Instruction Set Reference Manual (PDF). Hewlett-Packard. 1980. p. 2-31.
  16. ^ 990 Computer Family Systems Handbook (PDF). Texas Instruments. p. 3-28.
  17. ^ TMS 9900 Microprocessor Data Manual (PDF). Texas Instruments. December 1976. p. 24.
  18. ^ "SL8X305 Microcontroller" (PDF). Lansdale Semiconductor Inc. Retrieved 20 June 2017.
  19. ^ a b van de Goor, Ad (September 21, 1970). "The Execute Instruction" (PDF). PDP-11/40 Technical Memorandum 18.
  20. ^ a b PDP11 Processor Handbook: PDP11/04/34a/44/60/60 (PDF). Digital Equipment Corporation. 1979.
  21. ^ VAX MACRO and Instruction Set Reference Manual (PDF). Compaq Computer Corporation. April 2001. AA-PS6GD-TE.
  22. ^ Holloway, J. (February 20, 1970). "Hardware Memo 2 - PDP-10 Paging Device" (PDF). MIT AI Lab. p. 11.
  23. ^ DECsystem-10, DECSYSTEM-20 Processor Reference Manual (PDF). Digital Equipment Corporation. June 1982. p. 2-63. AA-H391A-TK, AD-H391A-T1.
  24. ^ Gabriel, Richard P. (August 1985). Performance and Evaluation of Lisp Systems (PDF). MIT Press. p. 32. ISBN 9780262070935.
  25. ^ Pitman, Kent M. "PURE". The Revised Maclisp Manual, Sunday Morning Edition.
  26. ^ Moon, David A. (April 1974). Maclisp Reference Manual (PDF). Revision 0. p. 181.

Read other articles:

Calhoun County, AlabamaLokasi di negara bagian AlabamaLokasi negara bagian Alabama di Amerika SerikatDidirikan18 Desember 1832 sebagai County BentonSeatAnnistonKota terbesarAnnistonWilayah • Keseluruhan612 sq mi (1.585 km2) • Daratan608 sq mi (1.575 km2) • Perairan4 sq mi (10 km2), 0.63%Populasi • (2000)112.249 • Kepadatan184/sq mi (71/km²)Situs webwww.calhouncounty.org County Calhou...

 

 

Bagian dari seriGereja Katolik menurut negara Afrika Afrika Selatan Afrika Tengah Aljazair Angola Benin Botswana Burkina Faso Burundi Chad Eritrea Eswatini Etiopia Gabon Gambia Ghana Guinea Guinea-Bissau Guinea Khatulistiwa Jibuti Kamerun Kenya Komoro Lesotho Liberia Libya Madagaskar Malawi Mali Maroko Mauritania Mauritius Mesir Mozambik Namibia Niger Nigeria Pantai Gading Republik Demokratik Kongo Republik Kongo Rwanda Sao Tome dan Principe Senegal Seychelles Sierra Leone Somalia Somaliland ...

 

 

Scandal MakersSutradaraJeihan AnggaProduserManoj PunjabiSkenarioAlim SudioBerdasarkanScandal MakersPemeran Vino G. Bastian Beby Tsabina Jared Ali Penata musikAlfaomega Bani SabathinoSinematograferFajar KuncoroPenyuntingFaidhotur RachmahPerusahaanproduksi MD Pictures Dapur Film Tanggal rilis 19 Januari 2023 (2023-01-19) (Prime Video) Durasi86 menitNegaraIndonesiaBahasaIndonesia Scandal Makers adalah film drama komedi Indonesia tahun 2023 yang disutradarai oleh Jeihan Angga berda...

Cam GigandetGigandetLahirCam Joslin Gigandet16 Agustus 1982 (umur 41)[1]Tacoma, Washington, USPekerjaanAktorTahun aktif2003–sekarangPasanganDominique Geisendorff(2008–sekarang) Cam Gigandet (lahir 16 Agustus 1982 adalah aktor asal Amerika Serikat. Film Tahun Judul Pemeran Catatan 2004 Mistaken Joe Film pendek 2007 Who's Your Caddy? Mick 2008 Never Back Down Ryan McCarthy MTV Movie Award for Best Fight (dibagi dengan Sean Faris) 2008 American Crude Kip Adams 2008 Twiligh...

 

 

Guerra mahdistaMuhammad Ahmad, detto il MahdiData1881 - 1899 LuogoSudan, Egitto, Eritrea, Uganda Casus belliRivolta del Mahdi Muhammad Ahmad nel Sudan contro egiziani e britannici Esitovittoria anglo-egiziana Modifiche territorialiRiconquista anglo-egiziana del Sudan, conquista temporanea italiana di Cassala. Schieramenti Regno Unito Egitto  Italia[1] Belgio[2] Etiopia[3] Sudan mahdista Comandanti Charles George Gordon † Herbert Kitchener Francis Grenfell O...

 

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Sukhoi Su-25SM adalah sebuah pesawat tempur varian Sukhoi Su-25, bermesin ganda dengan pendorong jet diroduksi di Uni Soviet oleh Biro Perancang Sukhoi. Su-25SM (Stroyevoy Modernizirovannyi) adalah program upgrade untuk Su-25 terjangkau, dikandung ole...

Liga Champions UEFA 2023–2024Stadion Wembley di London akan menjadi tuan rumah laga finalInformasi turnamenJadwalpenyelenggaraanKualifikasi:27 Juni – 30 Agustus 2023Kompetisi utama:19 September 2023 – 1 Juni 2024Jumlahtim pesertaKompetisi utama: 32Total: 79 (dari 53 asosiasi)Statistik turnamenJumlahpertandingan120Jumlah gol364 (3,03 per pertandingan)Jumlahpenonton6.145.600 (51.213 per pertandingan)Pencetak golterbanyakKylian Mbappé (Paris Saint-Germain)8 gol← 2022�...

 

 

Národní basketbalová liga 2011-2012Dettagli della competizioneSport Pallacanestro OrganizzatoreNárodní basketbalová liga Federazione ČBF Squadre14 VerdettiCampione ČEZ Nymburk(9º titolo) Retrocessioni Plzeň Non ammesse allastagione successiva Inter Bratislava Cronologia della competizioneed. successiva →     ← ed. precedente Modifica dati su Wikidata · Manuale La Národní basketbalová liga 2011-2012 è stata la 20ª edizione del mass...

 

 

ХристианствоБиблия Ветхий Завет Новый Завет Евангелие Десять заповедей Нагорная проповедь Апокрифы Бог, Троица Бог Отец Иисус Христос Святой Дух История христианства Апостолы Хронология христианства Раннее христианство Гностическое христианство Вселенские соборы Н...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (يناير 2019) سباق دوفين للدراجات 2007 تفاصيل السباقسلسلة59. سباق دوفين للدراجاتمنافسةبرو تور 2007مراحل8التواريخ10 – 17 يوني�...

 

 

2015 American film by Alejandro González Iñárritu The RevenantTheatrical release posterDirected byAlejandro G. IñárrituScreenplay by Mark L. Smith Alejandro G. Iñárritu Based onThe Revenantby Michael PunkeProduced by Arnon Milchan Steve Golin Alejandro G. Iñárritu Mary Parent Keith Redmon James W. Skotchdopole Starring Leonardo DiCaprio Tom Hardy CinematographyEmmanuel LubezkiEdited byStephen MirrioneMusic by Ryuichi Sakamoto Alva Noto Productioncompanies Regency Enterprises RatPac E...

 

 

Election for the governor of North Dakota For related races, see 1898 United States gubernatorial elections. 1898 North Dakota gubernatorial election ← 1896 November 8, 1898 1900 →   Nominee Frederick B. Fancher David M. Holmes Party Republican Democratic Popular vote 28,308 19,496 Percentage 59.22% 40.78% County resultsFancher:      50–60%      60–70%      70–80%    ...

此條目可能包含不适用或被曲解的引用资料,部分内容的准确性无法被证實。 (2023年1月5日)请协助校核其中的错误以改善这篇条目。详情请参见条目的讨论页。 各国相关 主題列表 索引 国内生产总值 石油储量 国防预算 武装部队(军事) 官方语言 人口統計 人口密度 生育率 出生率 死亡率 自杀率 谋杀率 失业率 储蓄率 识字率 出口额 进口额 煤产量 发电量 监禁率 死刑 国债 ...

 

 

此條目可能包含不适用或被曲解的引用资料,部分内容的准确性无法被证實。 (2023年1月5日)请协助校核其中的错误以改善这篇条目。详情请参见条目的讨论页。 各国相关 主題列表 索引 国内生产总值 石油储量 国防预算 武装部队(军事) 官方语言 人口統計 人口密度 生育率 出生率 死亡率 自杀率 谋杀率 失业率 储蓄率 识字率 出口额 进口额 煤产量 发电量 监禁率 死刑 国债 ...

 

 

Questa voce o sezione sull'argomento ministeri non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Ministero dell'Istruzione e del Merito Il Palazzo del Ministero della pubblica istruzione a Roma SiglaMIM Stato Italia (1861-1929; 1944-1946) Italia (1946-2001; 2006-2008; dal 2020) TipoMinistero Istituito1861 daGoverno Cavour IV PredecessoreMinistero...

Colombian strategy board game, variant of Pachisi Part of a series on theCulture of Colombia Society Colombians Folklore History Immigration Languages Holidays Religion Topics Art Architecture Cinema Cuisine Dance Festivals Handicrafts Literature Media Cinema Newspapers Radio Television Monuments Music Painting Sports Theater Video gaming Symbols Flag Coat of arms Anthem Miss Colombia World Heritage Sites Colombia portalvte Parqués (Spanish pronunciation: [paɾ'kes]) is the Colom...

 

 

速降滑雪运动员Werner Heel(英语:Werner Heel)在意大利加爾代納山谷 2014年索契冬奥会速降滑雪赛道 高山滑雪是一項於高山上進行的冬季運動項目,共設有10個小項,都為個人賽。比賽時,運動員需穿上有襯墊的緊身衣,並在心口的位置佩戴號碼布、戴好保護盔、穿上滑雪板、滑雪杖以及使用「脫離式固定器」。 歷史 高山滑雪與其它冬季運動項目有所不同,它並非起源於北�...

 

 

Norwegian skier Johan GrøttumsbråtenGrøttumsbråten at the 1931 World ChampionshipsPersonal informationBorn24 February 1899Sørkedalen, Sweden-NorwayDied24 January 1983 (aged 83)Vestre Aker, NorwayHeight180 cm (5 ft 11 in)SportSportNordic skiingClubIL i BUL Medal record Representing  Norway Men's cross-country skiing Olympic Games 1928 St. Moritz 18 km 1924 Chamonix 18 km 1924 Chamonix 50 km World Championships 1931 Oberhof 18 km Men's Nordic combined Olympic Games 1932...

Теленор Арена Местоположение Форнебу, Берум, Норвегия Построен 2009 Открыт 8 марта 2009 Владелец Шелль Кристиан Ульрихсен Вместимость 15 600 (футбол) 25 000 (концерты) Домашняя команда Стабек Сайт unityarena.no  Медиафайлы на Викискладе «Теленор Арена» (норв. Telenor Arena) — многоцелево�...

 

 

Walter Laufenberg 2006 Walter Laufenberg (* 1935 in Opladen, heute Leverkusen) ist ein deutscher Schriftsteller und Blogger. Inhaltsverzeichnis 1 Leben 2 Werke 3 Auszeichnungen 4 Literatur 5 Weblinks Leben Walter Laufenberg studierte in Köln, Saarbrücken und Berlin Rechtswissenschaft, Volkswirtschaftslehre und promovierte in Sozialwissenschaft. Er arbeitete in verschiedenen Berufen, so als Fernsehredakteur und Reporter beim WDR und ZDF, als Filmemacher und Verlagslektor, als Werbeleiter des...