Compute 2x (Assembly Language)

; Program to compute 2x DATA SEGMENT ;INITIALIZE DATA SEGMENT NUM1 DD 0.5 ;INTIALIZE NUM AS 0.5H ;NOTE IN EXAM DONT INITIALIZE NUM1 MORE THAN 0.9 ;RANGE SHOULD BE 0.1-0.9H ONLY ;REASON BECAUSE THE COMMAND F2XM1 WHERE ;X SHOULD BE SPECIFIED WITHING 0 > X < 1 RES DD ? ;INITIALIZE RES DATA ENDS ;END OF DATA SEGMENT CODE SEGMENT ;INITIALIZE CODE SEGMENT START: ;START … Continue reading Compute 2x (Assembly Language)