ORG 100H
.MODEL SMALL
.DATA
msg_1 db "Enter the first character: $"
msg_2 db "Enter the second character: $"
msg_3 db "In alphaphet order: $"
next db 0dh,0ah,"$"
.code
main proc
mov ax,@data
mov ds,ax
mov ah,9
lea dx,msg_1
int 21h
mov ah,1
int 21h
mov bl,al
mov ah,9
lea dx,next
int 21h
lea dx,msg_2
int 21h
mov ah,1
int 21h
mov bh,al
mov ah,9
lea dx,next
int 21h
cmp bh,bl
jae larger
mov ah,2
mov dl,bh
int 21h
mov dl,bl
int 21h
ret
larger:
mov ah,2
mov dl,bl
int 21h
mov dl,bh
int 21h
main endp
end main
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}