Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

FRINT2 in Assembler

FRINT2 - FPU: Round to Integer


FPU: Cyrix FPUs and 486s with FPU on chip

Type of Instruction: FPU instruction

Instruction: FRINT2

Description:

IF ( exact half ) THEN
{
ST <- SIGN(ST) * ROUND(ABS(ST)+0.5,NEAREST)
}
ELSE
{
ST <- ROUND ( ST,NEAREST )
}
END

Note:
This instruction calculate rounding ST toward nearest,
but if number is exact half then this instruction round
it toward signed infinity. Sign of this infinity is same
with sign of number.

Examples:

1.2 -> 1.0
-1.2 -> -1.0
3.0 -> 3.0
0.0 -> 0.0
1.5 -> 2.0
1.8 -> 2.0
-2.0 -> -2.0
-1.5 -> -2.0

FPU Flags Affected: S,P,D,I,C1

FPU mode: Any

Physical Form: FRINT2
COP (Code of Operation): DBH FCH
Clocks: Cx83D87 : 15
Cx83S87 : 15
CxEMC87 : 15
Cx487DLC :
Add by Pancho
You can edit it here
abcarticle.ru (blockart[dog]mail[dot]ru)
FpMIbM <a href="http://koazaubjupiq.com/">koazaubjupiq</a>, [url=http://ksmbuypmnonf.com/]ksmbuypmnonf[/url], [link=http://bomnxxllhbtd.com/]bomnxxllhbtd[/link], http://bhffxkqpsfmk.com/
Adding comments is available only for registered users.

Study Reveals a Secret to the Success of Notorious, Disease-Causing Microbes

Mechanism used by oomycetes and fungi to infect humans, animals and plants with serious diseases.

A study published in the July 23 issue of Cell identifies the mechanism used by several types of common, virulent microbes to infect plants and cause devastating blights. Microbes using this infection mechanism include fungi that are currently causing wheat rust epidemics in Africa and Asia, and a class of parasitic algae, called oomycetes, that resulted in the Irish potato blight of the 19th Century. These microbes remain an agricultural scourge today.

The researchers ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117036&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.