Last Modified: October 30 2020 14:33:14
File: root - programs - 80x86_assembly_com - 2008 - 5 - pecho.com
File Size: 0.18KB
@rem This file is generated by machine... at 2024-07-02 50:07:56
@rem .COM file to .BAT convertor,,, programmed by Zhihua Lai, 2008
@rem The .COM File Generated is size of 185 bytes.
@if exist %0.bat %0.bat
@debug < %0
@dir /l pecho.com
@goto eof
e0100 e9 9c 00 4a 75 73 74 20 45 63 68 6f 20 61 20 53
e0110 74 72 69 6e 67 20 55 74 69 6c 69 74 79 3a 20 4e
e0120 6f 20 65 6e 6f 75 67 68 20 70 61 72 61 6d 65 74
e0130 65 72 73 2e 0d 0a 24 50 61 72 61 6d 65 74 65 72
e0140 3a 20 41 6e 79 20 53 74 72 69 6e 67 2e 0d 0a 24
e0150 50 72 6f 67 72 61 6d 6d 65 64 20 62 79 20 5a 68
e0160 69 68 75 61 20 4c 61 69 2c 20 32 30 30 38 20 41
e0170 70 72 69 6c 2c 20 6a 75 73 74 20 66 6f 72 20 66
e0180 75 6e 2e 0d 0a 24 b4 09 8d 16 03 01 cd 21 8d 16
e0190 37 01 cd 21 8d 16 50 01 cd 21 b8 01 4c cd 21 be
e01a0 80 00 32 ed 8a 0c e3 de 46 fe c9 46 8a 14 b4 02
e01b0 cd 21 e2 f7 b8 00 4c cd 21
n pecho.com
r cx
b9
w
q
:eof
;;;; this assembly file is formated by zlai 2008 asm formatter. ;;;;
; pure echo
; programmed by zhihua lai,
; 2008 april 16, just for fun
.model tiny
code segment
org 100h
start:
jmp start1
msg1 db "just echo a string utility: no enough parameters.", 13, 10, "$"
msg2 db "parameter: any string.", 13, 10, "$"
msg3 db "programmed by zhihua lai, 2008 april, just for fun.", 13, 10, "$"
noarg:
mov ah, 09h
lea dx, msg1
int 21h
lea dx, msg2
int 21h
lea dx, msg3
int 21h
mov ax, 4c01h
int 21h
start1:
mov si, 80h
xor ch, ch
mov cl, [si]
jcxz noarg
inc si
dec cl
chk:
inc si
mov dl, [si]
mov ah, 2
int 21h
loop chk
exit2dos:
mov ax, 4c00h
int 21h
code ends
end start
©2006~2024 SteakOverCooked - 0.00858 Seconds(s) - 6287.297 KB/s - 30 Online Memory: 495.78 KB
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - Server PHP Version: 7.4.33
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - Server PHP Version: 7.4.33
Comments (0)
Read & Write - Normal - Mini - Post - All Comments - Statistics
Be the first one to comment this page !