最后修改: October 30 2020 14:33:12
文件: root - programs - 80x86_assembly_com - 2008 - 5 - rot13.com
大小: 0.25KB
@rem This file is generated by machine... at 2024-07-03 03:07:42
@rem .COM file to .BAT convertor,,, programmed by Zhihua Lai, 2008
@rem The .COM File Generated is size of 259 bytes.
@if exist %0.bat %0.bat
@debug < %0
@dir /l rot13.com
@goto eof
e0100 e9 c4 00 52 6f 74 20 31 33 20 55 74 69 6c 69 74
e0110 79 3a 20 4e 6f 20 65 6e 6f 75 67 68 20 70 61 72
e0120 61 6d 65 74 65 72 73 2e 0d 0a 24 50 61 72 61 6d
e0130 65 74 65 72 3a 20 41 6e 79 20 53 74 72 69 6e 67
e0140 2e 0d 0a 24 50 72 6f 67 72 61 6d 6d 65 64 20 62
e0150 79 20 5a 68 69 68 75 61 20 4c 61 69 2c 20 32 30
e0160 30 38 20 41 70 72 69 6c 2c 20 6a 75 73 74 20 66
e0170 6f 72 20 66 75 6e 2e 0d 0a 24 6e 6f 70 71 72 73
e0180 74 75 76 77 78 79 7a 61 62 63 64 65 66 67 68 69
e0190 6a 6b 6c 6d 4e 4f 50 51 52 53 54 55 56 57 58 59
e01a0 5a 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d b4 09
e01b0 8d 16 03 01 cd 21 8d 16 2b 01 cd 21 8d 16 44 01
e01c0 cd 21 b8 01 4c cd 21 be 80 00 32 ed 8a 0c e3 de
e01d0 46 fe c9 46 8a 04 3c 41 72 1c 3c 7a 77 18 3c 61
e01e0 73 0d 3c 5a 77 10 8d 1e 94 01 2c 41 d7 eb 07 8d
e01f0 1e 7a 01 2c 61 d7 8a d0 b4 02 cd 21 e2 d5 b8 00
e0200 4c cd 21
n rot13.com
r cx
103
w
q
:eof
;;;; this assembly file is formated by zlai 2008 asm formatter. ;;;;
; rot 13
; programmed by zhihua lai,
; 2008 april 16, just for fun
.model tiny
code segment
org 100h
start:
jmp start1
msg1 db "rot 13 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, "$"
lookup1 db "nopqrstuvwxyzabcdefghijklm"
lookup2 db "nopqrstuvwxyzabcdefghijklm"
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, 'a'
jb nochg
cmp al, 'z'
ja nochg
cmp al, 'a'
jae chglower
cmp al, 'z'
ja nochg
chgupper:
lea bx, lookup2
sub al, 'a'
xlat
jmp nochg
chglower:
lea bx, lookup1
sub al, 'a'
xlat
nochg:
mov dl, al
mov ah, 2
int 21h
loop chk
ok:
mov ax, 4c00h
int 21h
code ends
end start
©2006~2024 牛排过熟 - 0.00684 秒 - 8230.782 KB/s - 36 在线 内存: 510.84 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)
读写完全 - 一般 - 最小 - 表格 - 所有评论 - 统计
当前页暂时没有评论。