![]() |
IOBit Software
|
|
|
||||||
| Programming Place to discuss programming including HTML, Java, C++, MySQL and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Write an assembly program which takes two single-precision floating point inputs from the user, calculates the greater number, calculates the difference of the two(greater-smaller), and prints all these as well.
Desired Output: Enter a number (A):15.90 Enter another number (B):11.28 You entered A=15.90 and B=11.28 The difference is 4.62 Any ideas? The program must compile and run on MARS Assembler. |
| Sponsored links |
|
|
|
#2
|
||||
|
||||
|
Google MIPS Tutorial and read. The structure would be very simple. Load the two floating points into memory. Subtract one float (which you stored in memory) from the other. Print the float.
|
![]() |
| Tags |
| mips assembly |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MS Word stucks when I choose another language from language bar. How do I fix it? | langclinic | Software | 1 | 03-18-07 02:03 |
| Rig Assembly - Mostly regarding cooling | dscl | Cooling And Modding | 0 | 01-31-06 11:35 |
| Custom PC Assembly | ANHEDONIC | Hardware | 9 | 08-06-05 21:15 |
| Programming the TI-83 Plus in Assembly | Magi Matt | Programming | 2 | 03-10-05 21:46 |
| how to convert assembly language into C? | kunalsethi | Software | 2 | 11-15-04 05:39 |