Created
July 28, 2016 20:12
-
-
Save aensidhe/6a22ea0e9f865be76f9ee9d22cc6fe0f to your computer and use it in GitHub Desktop.
valid il can contain several rets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.assembly test.msil { | |
.hash algorithm 0x00008004 | |
.ver 2:0:0:0 | |
} | |
.method static void main() | |
{ | |
.entrypoint | |
.maxstack 1 | |
ldstr "Hello world!" | |
brinst SECOND | |
ldstr "First" | |
call void [mscorlib]System.Console::WriteLine(string) | |
ret | |
SECOND: | |
ldstr "Second" | |
call void [mscorlib]System.Console::WriteLine(string) | |
ret | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment