![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASM
jebe7282
Fond of Computer Programming
展开
-
汇编 编写strcmp 函数(简单版)
/** * description : 内联汇编 ,用来 判断两个字符串是否相等, 如果相等返回0 , 否则 -1 . * author :renwang * data: 2011-7-23 * */ int cmp(char * a , char * b ) { ch原创 2011-07-23 02:11:38 · 2895 阅读 · 0 评论 -
汇编学习:完成swap(交换) 函数的 功能
#include using namespace std; void swap (int *a , int *b ) { //int temp = *a; //*a = *b; //*b = temp; _asm { mov eax , dword pt原创 2011-07-23 16:30:51 · 4798 阅读 · 0 评论