HEXADECIMAL number to ASCII number Conversion :-
data segment
hex db 20h
ascii dw ?
data ends
code segment
start : assume cs :code, ds :data
mov ax , data
mov ds ,ax
mov al , hex
AND al, 0Fh
cmp al , 09h
JBE down1
ADD al , 07h
down1 : add AL , 30H
mov cl , 04h
ADD ah , 0F0h
rol ah ,cl
cmp ah ,09h
JBE down2
ADD ah ,07h
down2 : ADD ah ,30h
mov ascii , ax
int3
code ends
end start
Hex to ASCII program 8086
BCD to ASCII program 8086
ASCII to BCD program 8086
BCD to HEX
HEX to BCD
Block transfer in reverse
Block transfer using STRING instruction
Hex to ASCII program 8086
BCD to ASCII program 8086
ASCII to BCD program 8086
BCD to HEX
HEX to BCD
Block transfer in reverse
Block transfer using STRING instruction
Programs:-
For many other Assembly Language Programs related to microprocessor 8086 visit our BLOG
There are programs of largest ,smallest ,division ,multiplication,odd/even,block operation ,string operations,BCD ,etc
For many other Assembly Language Programs related to microprocessor 8086 visit our BLOG
There are programs of largest ,smallest ,division ,multiplication,odd/even,block operation ,string operations,BCD ,etc
No comments:
Post a Comment