Created
July 14, 2017 21:02
-
-
Save pftbest/8a7fe3117e164ffbeffc37c73b3f3bff to your computer and use it in GitHub Desktop.
This file contains hidden or 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
target triple = "msp430-none-elf" | |
@bar = global i32 0, align 2 | |
define void @foo() { | |
start: | |
%0 = load i32, i32* @bar, align 2 | |
%1 = add i32 %0, 1 | |
store i32 %1, i32* @bar, align 2 | |
ret void | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment