Simulation of the Fixed-Point Number Arithmetic

Abstract:

Article Preview

The fixed-point number arithmetic is always the key and difficult point of the computer organization. It is the basic knowledge of the computer organization. Because there are many operation methods of the fixed-point number and the operation process of it is complicated, the fixed-point number arithmetic is not easy for students to learn. The lack of the software to help the students do simulation computation is the biggest problem in the current teaching of the knowledge. To solve the problem, the simulation software of the fixed-point number arithmetic is developed with C++builder. The software is made up of "the fixed-point integer two's complement addition" module, "the fixed-point decimals two's complement addition" module, "the fixed-point integer two's complement subtraction" module, "the fixed-point decimals two's complement subtraction" module, "the sign-magnitude 1-bit multiplication"module, "the Booth's Algorithm"module, "the sign-magnitude two bits multiplication"module, "the two's complement two bits multiplication"module, "the sign-magnitude recovery remainder division"module, "the sign-magnitude unrecovery remainder division"module, "the two's complement unrecovery remainder division"module, etc. In order to test the simulation software, the test case is designed for the fixed-point arithmetic. According to the designed test case,the detailed test is carried out. The test results show that its simulation effect is good. The simulation software realizes the addition, subtraction, multiplication, and division of the fixed-point number successfully. The CAI (computer-assisted instruction) can be carried out through the software. The software can help the students be familiar with and master the fixed-point number arithmetic rapidly.

Info:

Periodical:

Key Engineering Materials (Volumes 467-469)

Edited by:

Dehuai Zeng

Pages:

2097-2102

DOI:

10.4028/www.scientific.net/KEM.467-469.2097

Citation:

F. Wang and X. L. Zheng, "Simulation of the Fixed-Point Number Arithmetic", Key Engineering Materials, Vols. 467-469, pp. 2097-2102, 2011

Online since:

February 2011

Export:

Price:

$35.00

In order to see related information, you need to Login.

In order to see related information, you need to Login.