Add uwu in LLVM IR

This commit is contained in:
sech1p 2021-08-16 00:44:36 +02:00
parent ac2ad10e83
commit 8b72d1488f
Signed by: sech1p
GPG key ID: 44917CFA577DA652
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# uwu # uwu
uwu in every (soon™) programming language in the world (70 languages and keeps growing) uwu in every (soon™) programming language in the world (71 languages and keeps growing)
## Languages ## Languages
@ -67,6 +67,7 @@ uwu in every (soon™) programming language in the world (70 languages and ke
## Assemblers ## Assemblers
- [High Level Assembly](uwu.hla) - [High Level Assembly](uwu.hla)
- [LLVM IR](uwu.ll)
## Esoteric Languages ## Esoteric Languages

8
uwu.ll Normal file
View file

@ -0,0 +1,8 @@
declare i32 @puts(i8*)
@uwu = internal constant [4 x i8] c"uwu\00"
define i32 @main()
{
call i32 @puts(i8* getelementptr ([4 x i8], [4 x i8]* @uwu, i32 0, i32 0))
ret i32 0
}