BCD TO ASCII CONVERSION:-
data segment
bcd db 20h
ascii dw ?
data ends
code segment
start : assume cs :code, ds :data
mov ax , data
mov ds ,ax
mov al , bcd
AND al, 0Fh
ADD al , 30h
mov ah,bcd
AND ah,0F0h
mov cl, 04h
ROL ah , cl
ADD ah ,30
mov ascii ,ax
mov ah ,4ch
int 21h
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