最后修改: October 30 2020 14:33:15
文件: root - programs - 80x86_assembly_com - 2008 - 5 - schr.com
大小: 0.26KB
@rem This file is generated by machine... at 2024-07-03 29:07:54
@rem .COM file to .BAT convertor,,, programmed by Zhihua Lai, 2008
@rem The .COM File Generated is size of 262 bytes.
@if exist %0.bat %0.bat
@debug < %0
@dir /l schr.com
@goto eof
e0100 e9 a1 00 00 00 00 00 0a 53 75 70 65 72 20 41 53
e0110 43 49 49 20 4c 6f 6f 6b 75 70 20 55 74 69 6c 69
e0120 74 79 3a 20 4e 6f 20 65 6e 6f 75 67 68 20 70 61
e0130 72 61 6d 65 74 65 72 73 2e 0d 0a 24 50 61 72 61
e0140 6d 65 74 65 72 3a 20 4e 75 6d 62 65 72 73 20 2e
e0150 2e 2e 0d 0a 24 50 72 6f 67 72 61 6d 6d 65 64 20
e0160 62 79 20 5a 68 69 68 75 61 20 4c 61 69 2c 20 32
e0170 30 30 38 20 41 70 72 69 6c 2c 20 6a 75 73 74 20
e0180 66 6f 72 20 66 75 6e 2e 0d 0a 24 b4 09 8d 16 08
e0190 01 cd 21 8d 16 3c 01 cd 21 8d 16 55 01 cd 21 b8
e01a0 01 4c cd 21 be 80 00 32 ed 8a 0c e3 de 46 fe c9
e01b0 46 8a 04 3c 30 72 20 3c 39 77 1c 2c 30 32 e4 2e
e01c0 a3 05 01 2e a1 03 01 2e f6 26 07 01 2e 03 06 05
e01d0 01 2e a3 03 01 eb 1f 2e 83 3e 03 01 00 74 09 b4
e01e0 02 2e 8a 16 03 01 cd 21 2e c7 06 03 01 00 00 2e
e01f0 c7 06 05 01 00 00 e2 b8 b4 02 2e 8a 16 03 01 cd
e0200 21 b8 00 4c cd 21
n schr.com
r cx
106
w
q
:eof
;;;; this assembly file is formated by zlai 2008 asm formatter. ;;;;
; super ascii look up
; programmed by zhihua lai,
; 2008 april 16, just for fun
.model tiny
code segment
org 100h
start:
jmp start1
num dw 0
new dw 0
ten db 0ah
msg1 db "super ascii lookup utility: no enough parameters.", 13, 10, "$"
msg2 db "parameter: numbers ...", 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 al, [si]
cmp al, '0'
jb s
cmp al, '9'
ja s
sub al, '0'
xor ah, ah
mov new, ax
mov ax, num
mul ten
add ax, new
mov num, ax
jmp ok
s:
cmp num, 0
jz s2
mov ah, 2
mov dl, byte ptr [num]
int 21h
s2:
mov num, 0
mov new, 0
ok:
loop chk
mov ah, 2
mov dl, byte ptr [num]
int 21h
mov ax, 4c00h
int 21h
code ends
end start
©2006~2024 牛排过熟 - 0.00726 秒 - 7792.452 KB/s - 18 在线 内存: 512.03 KB
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - 服务器 PHP 版本号: 7.4.33
牛排怎么做才好吃? | <meta name="机器人" content="不索引, 跟踪" />
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - 服务器 PHP 版本号: 7.4.33
评论 (0)
读写完全 - 一般 - 最小 - 表格 - 所有评论 - 统计
当前页暂时没有评论。