Change hw6 to an unsolved version.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
0c04936ccf
commit
ee01a8f5b2
186 changed files with 9605 additions and 4019 deletions
9
hw6/llprograms/sp24_hw3/helloworld.ll
Normal file
9
hw6/llprograms/sp24_hw3/helloworld.ll
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
declare void @ll_puts(i8*)
|
||||
|
||||
@gstr = global [14 x i8] c"hello, world!\00"
|
||||
|
||||
define i64 @main(i64 %argc, i8** %argv) {
|
||||
%1 = getelementptr [14 x i8], [14 x i8]* @gstr, i32 0, i32 0
|
||||
call void @ll_puts(i8* %1)
|
||||
ret i64 0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue