.section .data
myvalue:
.int 67
.section .text
.globl main
main:
movl $myvalue,%ecx
push $myvalue
call printf
push $0
call exit
deepf[email protected]:~/private/mytest$ gcc -o test12 test12.s
[email protected]:~/private/mytest$ ./test12
[email protected]:~/private/mytest$
汇编的movl使用