文件名称:(2)
介绍说明--下载内容均来自于网络,请自行研究使用
用减奇数开平方运算
8086/8088指令系统中有乘除法指令但没有开平方指令,因此,开平方运算是通过程序来实现的。用减奇数法可求得近似平方根,获得平方根的整数部分。我们知道,N个自然数中的奇数之和等于N2 ,即:
1+3+5=32
1+3+5+7=16=42
1+3+5+7+9+11+13+15=64+82-Odd square root operation with reduced instruction set in 8086/8088 multiply and divide instructions, but no square root instruction, therefore, square root operation is achieved through the process. Reduction method can be obtained with approximate square root of the odd, the integer part to obtain the square root. We know, N a natural number equal to the sum of the odd N2, namely: 1+3+5 = 32 1+3+5+7 = 16 = 42 1+3+5+7+9+11+13+15 = 64+82
8086/8088指令系统中有乘除法指令但没有开平方指令,因此,开平方运算是通过程序来实现的。用减奇数法可求得近似平方根,获得平方根的整数部分。我们知道,N个自然数中的奇数之和等于N2 ,即:
1+3+5=32
1+3+5+7=16=42
1+3+5+7+9+11+13+15=64+82-Odd square root operation with reduced instruction set in 8086/8088 multiply and divide instructions, but no square root instruction, therefore, square root operation is achieved through the process. Reduction method can be obtained with approximate square root of the odd, the integer part to obtain the square root. We know, N a natural number equal to the sum of the odd N2, namely: 1+3+5 = 32 1+3+5+7 = 16 = 42 1+3+5+7+9+11+13+15 = 64+82
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(2).doc