Assembly language!
From the keyboard input more than 10 or 10 disorder to the size of the four octal number, with 16 hexadecimal form after smallest to output,
Note: between input and output data are separated by a comma,
CodePudding user response:
Where there is doubt, how to input, or sorting, or how to output, or is the framework of the program? These things, the book has said,CodePudding user response:
Is how the transformation output won'tCodePudding user response:
Hexadecimal conversion output, output is the most simple, is the three hex, four octal, can also be organized into four hexadecimal, bit by bit by numerical transformation for the display of characters, then just call character output function; Conversion, look-up table probably the most simple:and al, 0 fh
Mov ah, 0
Mov bx, ax
Mov al cHex [bx]; CHex db '0123456789 abcdef