![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
汇编
文章平均质量分 72
lemirymoo
这个作者很懒,什么都没留下…
展开
-
读硬盘
org 0100h_start: mov ax,cs mov ds,ax mov es,ax push 0 ;柱面号高2位 push 0 ;柱面号低8位 push 1 ;扇区号 push 2 ;扇区数 push 0 ;磁盘和磁头号 call _read add sp,8 push 512 push buff call _debug add原创 2009-07-19 15:39:00 · 345 阅读 · 0 评论 -
汇编实现memcpy,memset,strcat,strlen
global _s_strlenglobal _s_strcatglobal _s_memcpyglobal _s_memsetsegment .text;unsigned int s_strlen(char*);_s_strlen: push ebp mov ebp,esp mov edi,[ebp + 8] mov ecx,-1原创 2009-07-03 17:12:00 · 1168 阅读 · 1 评论