A problem. When using assembly language to call the C language function
I use assembly language to call the C language function.And I have a problem.
main.s Code:
.section .data Code:
#include<stdio.h> thx. |
when I use
Code:
puts("success"); but,why?? |
It's because puts adds a newline, and stdout is line buffered, so you don't see anything until you output a newline.
|
Quote:
|
All times are GMT -5. The time now is 09:47 PM. |