~mcf/cproc

ref: 16c718729adfaf40cf22aa4efeafb0d92ef5ee3c cproc/test/initializer-string.qbe -rw-r--r-- 322 bytes
16c71872Michael Forney Prepare for supporting architecture-specific va_list type 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export data $x = align 1 { b "hello\000", }
export
function $f() {
@start.1
	%.1 =l alloc4 6
@body.2
	%.2 =l add %.1, 0
	storeb 104, %.2
	%.3 =l add %.1, 1
	storeb 101, %.3
	%.4 =l add %.1, 2
	storeb 108, %.4
	%.5 =l add %.1, 3
	storeb 108, %.5
	%.6 =l add %.1, 4
	storeb 111, %.6
	%.7 =l add %.1, 5
	storeb 0, %.7
	ret
}