Add uwu in LLVM IR
This commit is contained in:
parent
ac2ad10e83
commit
8b72d1488f
2 changed files with 10 additions and 1 deletions
|
@ -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
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