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 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
@ -67,6 +67,7 @@ uwu in every (soon™) programming language in the world (70 languages and ke
## Assemblers
- [High Level Assembly](uwu.hla)
- [LLVM IR](uwu.ll)
## 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
}