题目:分析下面的程序,在运行前思考:这个程序可以正确返回吗?运行后再思考:为什么是这种结果?通过这个程序加深对相关内容的理解。

assume cs:codesg 
 codesg segment 
              mov ax,4c00H 
              int 21H 
 start:  
              mov ax,0 
     s:     
              nop 
              nop 
              mov di,offset s 
              mov si,offset s2 
              mov ax,cs:[si] 
              mov cs:[di],ax 
     s0: 
             jmp short s 
     s1: 
             mov ax,0 
             int 21H 
             mov ax,0 
     s2: 
             jmp short s1 
             nop 
 codesg ends 
 end start

http://www.asmedu.net/blog/user/postcontent.jsp?neighborId=7740&kindId=8867&postId=10867&readSg=1&vs=1

http://www.cnblogs.com/VincentHome/archive/2012/06/19/2555395.html

相关文章:

  • 2021-12-21
  • 2022-01-08
  • 2021-08-12
  • 2021-12-24
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2021-12-28
  • 2021-07-12
  • 2021-12-02
  • 2021-07-12
  • 2021-12-15
相关资源
相似解决方案