About: PEEK and POKE

An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computing, PEEK and POKE are commands used in some high-level programming languages for accessing the contents of a specific memory cell referenced by its memory address. PEEK gets the byte located at the specified memory address.POKE sets the memory byte at the specified address. These commands originated with machine code monitors such as the DECsystem-10 monitor; these commands are particularly associated with the BASIC programming language, though some other languages such as Pascal and COMAL also have these commands. These commands are comparable in their roles to pointers in the C language and some other programming languages.

Property Value
dbo:abstract
  • POKE (englisch to poke = stecken, stoßen) ist eine Anweisung der Programmiersprache BASIC, die dazu dient, einen als Zahl angegebenen Wert (bei 8-Bit-Architekturen ein Oktett bzw. Byte) in die angegebene Speicheradresse im Adressraum des Prozessors (der CPU) zu speichern. Sein Gegenpart ist die PEEK-Interpreterfunktion (englisch to peek = gucken, spähen, nachsehen), mit der von einer Adresse gelesen wird; der gelesene Wert wird dem BASIC-Programm als Rückgabewert übergeben. Mit der POKE-Anweisung kann beispielsweise der Inhalt einer Speicherzelle des Arbeitsspeichers des Rechners manipuliert werden. Daneben werden mit POKE und PEEK die Hardwaresteuerregister von Peripheriebausteinen des Computers für das BASIC-Programm zugänglich, sofern das Computersystem mit Memory Mapped I/O arbeitet. Die Befehle PEEK und POKE wurden von Bill Gates und Paul Allen 1975 in der Programmiersprache Altair BASIC eingeführt. (de)
  • In computing, PEEK and POKE are commands used in some high-level programming languages for accessing the contents of a specific memory cell referenced by its memory address. PEEK gets the byte located at the specified memory address.POKE sets the memory byte at the specified address. These commands originated with machine code monitors such as the DECsystem-10 monitor; these commands are particularly associated with the BASIC programming language, though some other languages such as Pascal and COMAL also have these commands. These commands are comparable in their roles to pointers in the C language and some other programming languages. One of the earliest references to these commands in BASIC, if not the earliest, is in Altair BASIC. The PEEK and POKE commands were conceived in early personal computing systems to serve a variety of purposes, especially for modifying special memory-mapped hardware registers to control particular functions of the computer such as the input/output peripherals. Alternatively programmers might use these commands to copy software or even to circumvent the intent of a particular piece of software (e.g. manipulate a game program to allow the user to cheat). Today it is unusual to control computer memory at such a low level using a high-level language like BASIC. As such the notions of PEEK and POKE commands are generally seen as antiquated. The terms peek and poke are sometimes used colloquially in computer programming to refer to memory access in general. (en)
  • <b>PEEK</b> e <b>POKE</b>, in informatica, sono due istruzioni utilizzate nel linguaggio di programmazione BASIC per accedere al contenuto di un particolare indirizzo di memoria. PEEK è una funzione che restituisce il valore memorizzato nella cella di memoria specificata mentre POKE è un comando che serve per effettuare la corrispondente operazione di scrittura. (it)
  • コンピューティングにおいて、PEEK(ピーク)とPOKE(ポーク)は、いくつかの高水準プログラミング言語で使用されるコマンドで、メモリーアドレスで参照される特定のメモリセルの内容にアクセスするために使用する。BASICのものがよく知られているが、Pascalやなど他のプログラミング言語にも同様のコマンドがある。このコマンドは、C言語などにおけるポインタに匹敵する役割を持っている。 PEEKとPOKEは、初期のパーソナルコンピュータにおいて様々な目的を果たすために考案され、特に、メモリ空間にマッピングされたハードウェアレジスタを変更するために使用された。また、プログラマはこのコマンドを使用して、ソフトウェアをコピーしたり、特定のソフトウェアのプログラミングの意図を回避したりすることもある(例えば、ゲームプログラムを操作してユーザがチートできるようにするなど)。今日では、BASICのような高水準言語を使用して、低水準でメモリを制御することはあまりなく、PEEK、POKEというコマンドの概念は一般的に時代遅れとみなされている。 英語においては、peekやpokeという言葉が、プログラミングにおけるメモリアクセスを指す動詞(poked, peekedなど)として口語的に使われることがある。 (ja)
dbo:thumbnail
dbo:wikiPageID
  • 252279 (xsd:integer)
dbo:wikiPageLength
  • 12180 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1117336842 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • <b>PEEK</b> e <b>POKE</b>, in informatica, sono due istruzioni utilizzate nel linguaggio di programmazione BASIC per accedere al contenuto di un particolare indirizzo di memoria. PEEK è una funzione che restituisce il valore memorizzato nella cella di memoria specificata mentre POKE è un comando che serve per effettuare la corrispondente operazione di scrittura. (it)
  • コンピューティングにおいて、PEEK(ピーク)とPOKE(ポーク)は、いくつかの高水準プログラミング言語で使用されるコマンドで、メモリーアドレスで参照される特定のメモリセルの内容にアクセスするために使用する。BASICのものがよく知られているが、Pascalやなど他のプログラミング言語にも同様のコマンドがある。このコマンドは、C言語などにおけるポインタに匹敵する役割を持っている。 PEEKとPOKEは、初期のパーソナルコンピュータにおいて様々な目的を果たすために考案され、特に、メモリ空間にマッピングされたハードウェアレジスタを変更するために使用された。また、プログラマはこのコマンドを使用して、ソフトウェアをコピーしたり、特定のソフトウェアのプログラミングの意図を回避したりすることもある(例えば、ゲームプログラムを操作してユーザがチートできるようにするなど)。今日では、BASICのような高水準言語を使用して、低水準でメモリを制御することはあまりなく、PEEK、POKEというコマンドの概念は一般的に時代遅れとみなされている。 英語においては、peekやpokeという言葉が、プログラミングにおけるメモリアクセスを指す動詞(poked, peekedなど)として口語的に使われることがある。 (ja)
  • POKE (englisch to poke = stecken, stoßen) ist eine Anweisung der Programmiersprache BASIC, die dazu dient, einen als Zahl angegebenen Wert (bei 8-Bit-Architekturen ein Oktett bzw. Byte) in die angegebene Speicheradresse im Adressraum des Prozessors (der CPU) zu speichern. Sein Gegenpart ist die PEEK-Interpreterfunktion (englisch to peek = gucken, spähen, nachsehen), mit der von einer Adresse gelesen wird; der gelesene Wert wird dem BASIC-Programm als Rückgabewert übergeben. Die Befehle PEEK und POKE wurden von Bill Gates und Paul Allen 1975 in der Programmiersprache Altair BASIC eingeführt. (de)
  • In computing, PEEK and POKE are commands used in some high-level programming languages for accessing the contents of a specific memory cell referenced by its memory address. PEEK gets the byte located at the specified memory address.POKE sets the memory byte at the specified address. These commands originated with machine code monitors such as the DECsystem-10 monitor; these commands are particularly associated with the BASIC programming language, though some other languages such as Pascal and COMAL also have these commands. These commands are comparable in their roles to pointers in the C language and some other programming languages. (en)
rdfs:label
  • POKE und PEEK (de)
  • PEEK e POKE (it)
  • PEEKとPOKE (ja)
  • PEEK and POKE (en)
owl:sameAs
prov:wasDerivedFrom
foaf:depiction
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License