For faster navigation, this Iframe is preloading the Wikiwand page for Executable.

Executable

Un hex dump d'un executable en mode real

En informàtica, un executable és aquell arxiu binari el contingut del qual és entès per l'ordinador com un programa informàtic.[1] Habitualment aquests arxius binaris estan compostos per instruccions donades al processador en codi màquina però a vegades pot tenir bytecode que necessita un intèrpret per a executar-ho. Sovint els executables fan trucades específiques a algunes funcions del sistema operatiu. (trucades de sistema)

Hi ha dues formes de classificar un executable segons la seva compatibilitat:

  1. Portables: El seu codi no està associat a un processador concret, utilitza bytecodes que són interpretats pel sistema operatiu, com per exemple amb Java
  2. No portables:El seu codi està associat a un tipus de processador, per tant no pot ser executat en un altre sistema. Això passa amb l'assemblador

Un altre tipus de programes, els scripts, no contenen codi màquina si no el codi font, que ha de ser interpretat a la vegada que s'executa.

Determinar si un arxiu és executable o no se simplement una qüestió de convenció. A Windows per exemple, el criteri es basa en l'extensió de l'arxiu (.exe, .bat...). A Unix en canvi es basa en les meta dades de l'arxiu.[2]

En molts dels programes moderns, els executables contenen coses no necessàries com imatges, textos... o qualsevol altra informació que ajudi a l'ordinador a interpretar el codi que conté.

Referències

[modifica]
  1. «executable». Merriam-Webster's Online Dictionary. Merriam-Webster. [Consulta: 19 juliol 2008].
  2. Jessica McKellar. «Hello from a libc-free world! (Part 1)», Mar 16, 2010. Arxivat de l'original el de novembre 17, 2016. [Consulta: d’octubre 16, 2016].

Enllaços externs

[modifica]
  • EXE File Format a What Is
  • (anglès) « Order of Precedence in Locating Executable Files » al Supprt de Microsoft
  • (anglès) « The Windows NT Command Shell » a TechNet Microsoft, vegeu : « The PATH Command and PATHEXT Variable »
{{bottomLinkPreText}} {{bottomLinkText}}
Executable
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?