Add uwu in LLVM IR
This commit is contained in:
parent
a95adf01fe
commit
1fb00b9841
2 changed files with 10 additions and 1 deletions
|
@ -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
8
uwu.ll
Normal 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
|
||||
}
|
Loading…
Reference in a new issue