Re: 版名提名
.section .rdata,"dr" C0: movl %eax, (%esp) .ascii
"Error:%d\12\0" .text
movw $2, -40(%ebp) .globl _htconnect .def _htconnect; .scl 2; .type 32;
.endef htconnect:
movl -12(%ebp), %eax pushl %ebp movl %esp, %ebp call
_memcpy subl $72, %esp
movl $80, -44(%ebp) movl 8(%ebp), %eax movl %eax, (%esp) call
_gethostbyname@4
subl $4, %esp movl %eax, -16(%ebp) cmpl $0, -16(%ebp)
jne L2 movl %eax, (%esp)
call _WSAGetLastError@0 movl %eax, 4(%esp) movl $LC0, (%esp) movl
%eax, 4(%esp) call _printf
movl $-2, -48(%ebp) jmp L1 movl %eax, 4(%esp) L2:
movl (%eax), %eax
movl $0, 8(%esp ) movl $1, 4(%esp) movl $2, (%esp) call _socket@12
subl $12, %esp
leal -40(%ebp), %eax movl %eax, -12(%ebp cmpl $0, -12(%ebp)
jns L3 addl $4, %eax
movl $-1, -48(%ebp) jmp L1 movl 12(%eax), %eax L3: movl
$16, 8(%esp)
movl $0, 4(%esp) call _htons@4 leal -40(%ebp), %eax movl %eax,
(%esp)
call _memset movl -16(%ebp), %eax movswl 10(%eax),%eax movl
-16(%ebp), %eax movl %eax, 8(%esp)
黑白弄的....
中間再加個assemble之類的大字也可以
不過我不會弄大字....
--
丁丁是個人才
東東是個阿宅
叮叮是個阿宅
咚咚是個廢才
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.114.218.176
→
03/31 22:33, , 1F
03/31 22:33, 1F
→
03/31 22:34, , 2F
03/31 22:34, 2F
推
03/31 22:49, , 3F
03/31 22:49, 3F
推
03/31 22:53, , 4F
03/31 22:53, 4F
推
03/31 22:55, , 5F
03/31 22:55, 5F
→
03/31 23:17, , 6F
03/31 23:17, 6F
推
03/31 23:23, , 7F
03/31 23:23, 7F
推
03/31 23:25, , 8F
03/31 23:25, 8F
推
03/31 23:28, , 9F
03/31 23:28, 9F
→
03/31 23:34, , 10F
03/31 23:34, 10F
推
03/31 23:34, , 11F
03/31 23:34, 11F
→
03/31 23:35, , 12F
03/31 23:35, 12F
→
03/31 23:36, , 13F
03/31 23:36, 13F
→
03/31 23:36, , 14F
03/31 23:36, 14F
→
03/31 23:37, , 15F
03/31 23:37, 15F
→
03/31 23:38, , 16F
03/31 23:38, 16F
推
04/01 01:58, , 17F
04/01 01:58, 17F
推
04/01 03:17, , 18F
04/01 03:17, 18F
討論串 (同標題文章)
ASM 近期熱門文章
PTT數位生活區 即時熱門文章