页面顶部 Top


最后修改: October 30 2020 14:33:14
文件:  root - programs - 80x86_assembly_com - 2008 - 5 - pecho.com
大小: 0.18KB

  1. @rem This file is generated by machine... at 2024-05-09 52:05:51
  2. @rem .COM file to .BAT convertor,,, programmed by Zhihua Lai, 2008
  3. @rem The .COM File Generated is size of 185 bytes.
  4. @if exist %0.bat %0.bat
  5. @debug < %0
  6. @dir /l pecho.com
  7. @goto eof
  8. e0100 e9 9c 00 4a 75 73 74 20 45 63 68 6f 20 61 20 53
  9. e0110 74 72 69 6e 67 20 55 74 69 6c 69 74 79 3a 20 4e
  10. e0120 6f 20 65 6e 6f 75 67 68 20 70 61 72 61 6d 65 74
  11. e0130 65 72 73 2e 0d 0a 24 50 61 72 61 6d 65 74 65 72
  12. e0140 3a 20 41 6e 79 20 53 74 72 69 6e 67 2e 0d 0a 24
  13. e0150 50 72 6f 67 72 61 6d 6d 65 64 20 62 79 20 5a 68
  14. e0160 69 68 75 61 20 4c 61 69 2c 20 32 30 30 38 20 41
  15. e0170 70 72 69 6c 2c 20 6a 75 73 74 20 66 6f 72 20 66
  16. e0180 75 6e 2e 0d 0a 24 b4 09 8d 16 03 01 cd 21 8d 16
  17. e0190 37 01 cd 21 8d 16 50 01 cd 21 b8 01 4c cd 21 be
  18. e01a0 80 00 32 ed 8a 0c e3 de 46 fe c9 46 8a 14 b4 02
  19. e01b0 cd 21 e2 f7 b8 00 4c cd 21
  20. n pecho.com
  21. r cx
  22. b9
  23. w
  24. q
  25. :eof

  1. ;;;; this assembly file is formated by zlai 2008 asm formatter. ;;;;
  2. ; pure echo
  3. ; programmed by zhihua lai,
  4. ; 2008 april 16, just for fun
  5.  
  6. .model tiny 
  7. code segment 
  8.   org 100h 
  9.  
  10.   start: 
  11.   jmp start1 
  12.  
  13.   msg1 db "just echo a string utility: no enough parameters.", 13, 10, "$" 
  14.   msg2 db "parameter: any string.", 13, 10, "$" 
  15.   msg3 db "programmed by zhihua lai, 2008 april, just for fun.", 13, 10, "$" 
  16.  
  17.   noarg: 
  18.   mov ah, 09h 
  19.   lea dx, msg1 
  20.   int 21h 
  21.   lea dx, msg2 
  22.   int 21h 
  23.   lea dx, msg3 
  24.   int 21h 
  25.   mov ax, 4c01h 
  26.   int 21h 
  27.  
  28.   start1: 
  29.   mov si, 80h 
  30.   xor chch 
  31.   mov cl, [si
  32.   jcxz noarg 
  33.   inc si 
  34.   dec cl 
  35.  
  36.   chk: 
  37.   inc si 
  38.   mov dl, [si
  39.   mov ah, 2 
  40.   int 21h 
  41.   loop chk 
  42.  
  43.   exit2dos: 
  44.   mov ax, 4c00h 
  45.   int 21h 
  46.  
  47. code ends 
  48. end start 

评论 (0)

    当前页暂时没有评论。


最后更新: October 30 2020 14:21:12 | RSS Subscription
牛排怎么做才好吃? | <meta name="机器人" content="不索引, 跟踪" />