I want to multiply a number by itself and show it's square root, but I can't write any type of value into the console and it displays a 0.
This is the code I've used so far:
org 100h
num rb 1
mov ah, 3fh
mov bx, 0
mov cx, 1
mov dx, num
mov al, [num]
mov bl, [num]
mul bl
mov ah, 2
add al, 48 ;30h
mov dl, al
int 21h
Everything needs to be FASM compatible.