![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
汇编
lib601
这个作者很懒,什么都没留下…
展开
-
代码摘录
编写一段显示字符串string的程序 DATA SEGMENT string DB HAPPY NEW YEAR!,0DH,0AH,$ count DW 17 DATA ENDS 直接寻址 mov dl,string mov ah,2 int 21h ;显示字符H mov dl,string+1 mov ah,2 int 21h原创 2009-11-02 10:34:00 · 191 阅读 · 0 评论 -
汇编摘录
两个数a,b相加#include using namespace std;int main(){ unsigned int a,b; cin>>a; cin>>b; unsigned int *c = &a; _asm { mov eax,c; mov eax,[eax]; mov ebx,b; lea eax,[eax+ebx]; mov a,eax; } cout retur原创 2009-11-02 10:35:00 · 229 阅读 · 0 评论