Square root of a number (Assembly Language)

; Program to compute squareroot of a number DATA SEGMENT ;INITIALIZE DATA SEGMENT NUM1 DD 125.0 ;INTIALIZE NUM1 ANY DATA. ;WHEN DATA DOUBLE IS DEFINED, DEFINE THE NUMBER WITH DECIMAL RES DD ? ;INITIALIZE RES DATA ENDS ;END OF DATA SEGMENT CODE SEGMENT ;INITIALIZE CODE SEGMENT START: ;START THE CODE ASSUME CS:CODE,DS:DATA ;ASSUMPTION OF CODE AND DATA MOV AX,DATA ;MOVE DATA INTO ACCUMULATOR AX REGISTER … Continue reading Square root of a number (Assembly Language)