please can you give me a exact code for converting decimal to binary using 8086 assembly language;

Comments
We don't do your homework

please can you give me an exact code for converting hexa to binary using 8086 assembly language;

Comments
Please don't repeat-post

please can you give me a exact code for converting decimal to hexa using 8086 assembly language;

please can you give me a exact code for converting binary to octal using 8086 assembly language;

please can you give me a exact code for converting octal to decimal using 8086 assembly language;

boxes2: You should be made aware that this message board doesn't not work like IM, IRC, or Twitter. Repeatedly posting the same message over and over again is counter-productive, as there is often a lag of a day or two before you get a response. Also, messages are not limited in size (or at least not significantly so for most purposes), so posting additional information and/or code samples is both allowable and desireable. Please give as much information as is needed to solve your problem, as clearly as possible, with no IM-style abbreviations and other incoherent text.

Finally, as I said elsewhere, please read the Forum Rules and follow the required rules; in particular, be aware that we are not going to do your work for you, and that if you are going to ask for help, you need to demonstrate that you've made a good-faith effort to solve the issue yourself.

Edited 2 Years Ago by Schol-R-LEA

Comments
good comment

hexadecimal to decimal conversion;
.model small
.stack 100h
.data

    msg1 db 'enter hexadecimal value:$'
msg2 db  CR, LF 'in decimal it is : 1'
char db ?, '$'

.CODE

 Main proc


  mov ax, @ data  ;initialize data set
  move ds, ax

 lea dx, msg1    ;display first message
  mov ah, 9
  int21h

  mov ah, 1    ;for input
  int21h

  sub al, 11h    ;for conversion
  mov char, al

   lea dx, msg2    ;display second message
   mov dl, char
   int21h

   mov ah, 4ch    ;exit from dos
   int21h

main end p
end main

This article has been dead for over six months. Start a new discussion instead.