首页
社区
课程
招聘
[求助]我这个构建不成功,请高手看看,说说什么问题``
发表于: 2007-6-21 20:31 4279

[求助]我这个构建不成功,请高手看看,说说什么问题``

2007-6-21 20:31
4279
data segment   
  strhl db 'hello   world!','$'   
  data ends   
   
  code segment   
  assume cs:code,ds:data   
  start:   
  push ds   
  xor ax,ax   
  push ax   
   
  mov ax,data   
  mov ds,ax   
   
  mov dx,offset   strhl   
  mov ah,09h   
  int 21h   
   
  retf   
  code ends   
  end start
  
  push ds
  sub ax,ax
  push ax
  
  mov al,20
  mov bl,60
  add al,bl
  
  mov ch,2
  rotate:mov cl,4
  mov bl,al
  shr al,cl
  and bl,0fh
  add bl,30h
  cmp bl,3ah
  jl pintit
  add bl,7h
  
  prihtit:mov dl,bl
  mov ah,2
  int 21h
  dec ch
  jnz rotate
  
  ret
  mainendp
  
  prognam ends
  end

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 2134
活跃值: (14)
能力值: (RANK:170 )
在线值:
发帖
回帖
粉丝
2
data segment   
  strhl db 'hello   world!','$'   
  data ends   
   
  code segment   
  assume cs:code,ds:data   
  start:   
  push ds   
  xor ax,ax   
  push ax   
   
  mov ax,data   
  mov ds,ax   
   
  mov dx,offset   strhl   
  mov ah,09h   
  int 21h   
   
  retf   
  code ends   
  end start
   
前面是完整的程序了,建议看看汇编教程,把程序结构搞懂:)
2007-6-22 08:15
0
游客
登录 | 注册 方可回帖
返回
//