Add uwu in LLVM IR

This commit is contained in:
sech1p 2021-08-16 00:42:31 +02:00
parent a95adf01fe
commit 1fb00b9841
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 (71 languages and keeps growing)
uwu in every (soon™) programming language in the world (72 languages and keeps growing)
## Languages
@ -67,6 +67,7 @@ uwu in every (soon™) programming language in the world (71 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
}