Content deleted Content added
→Computational model: copy editing |
→Computational model: copy editing |
||
Line 41:
<!-- {{Copy edit|section|date=June 2020}} starting copy edit 20 July 2020 -->
The Common Intermediate Language is object-oriented and [[stack-based]], which means that instruction parameters and results are
Code that adds two numbers in [[x86 assembly language]], where eax and edx specify two different [[X86#x86_registers|general-purpose registers]]:
<syntaxhighlight lang="asm">
add eax, edx
</syntaxhighlight>
<syntaxhighlight lang="csharp">
ldloc.0 // push local variable 0 onto stack
Line 56:
</syntaxhighlight>
===Object-oriented concepts===
|