Programmeren in x86 assembler/Instructieset: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
ElieDeBrauwer (overleg | bijdragen)
Intel vs AT&T syntax uitgelegd.
DimiC88 (overleg | bijdragen)
kGeen bewerkingssamenvatting
 
Regel 14:
|Titel=Instructie zonder operande
|Code=
<sourcesyntaxhighlight lang="asm">
Instr
</sourcesyntaxhighlight>}}
 
De volgende notatie wordt gebruikt bij een instructie met slechts één operande.
Regel 23:
|Titel=Instructie met slechts één operande
|Code=
<sourcesyntaxhighlight lang="asm">
Instr operande
</sourcesyntaxhighlight>}}
 
De volgende notatie wordt gebruikt bij een instructie met twee operandes.
Regel 32:
|Titel=Instructie met twee operandes in Intel syntax
|Code=
<sourcesyntaxhighlight lang="asm">
Instr doel,bron
</sourcesyntaxhighlight>}}
 
Er wordt telkens uitgelegd waarvoor de operandes staan.
Regel 43:
|Titel=Instructie met twee operandes in AT&T syntax
|Code=
<sourcesyntaxhighlight lang="asm">
Instr bron,doel
</sourcesyntaxhighlight>}}
 
Gelukkig kunnen de meeste utilities met beide syntax varianten overweg.
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.