Can someone explain to me if there is a way to get one decimal value (0-9)? I need it for a project I'm working on. I wanted to do MOV SI, [CX:DX]
, but then I had a feeling that would not work. So I decided to search up online, but the subject I wanted wouldn't show up. So can someone tell me if there is a way to get 1 decimal value from 0 to 9?
I have tried: MOV BL, 1000
MOV AH, 00h
DIV DX
Is there something I'm doing wrong?
Using compiler NASM with 16-Bit code.
from Recent Questions - Stack Overflow https://stackoverflow.com/questions/65375795/is-there-a-way-to-convert-an-integer-to-hex-in-nasm Hornet's Channel http://ifttt.com/images/no_image_card.png
没有评论:
发表评论