mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			15 lines
		
	
	
		
			289 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			289 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llvm-as -f %s -o %t.bc
 | |
| ; RUN: lli %t.bc > /dev/null
 | |
| 
 | |
| %.LC0 = internal global [12 x sbyte] c"Hello World\00"
 | |
| 
 | |
| implementation
 | |
| 
 | |
| declare int %puts(sbyte*)
 | |
| 
 | |
| int %main() {
 | |
|         %reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
 | |
|         ret int 0
 | |
| }
 | |
| 
 |