我正在尝试将UNIX时间打印到std输出。为什么这段代码不起作用?
mov eax,13 ;sys call time; result is in ebx?
int 80h
mov ecx,ebx ;copy sys-time from ebx to ecx
add ecx,30h ;int to char
mov eax,4 ;std output
mov ebx,1
mov edx,10
int 80h
mov eax,1
mov ebx,0
int 80h