| | |
Floating point in Assembly
![]() |
•
•
Join Date: Nov 2008
Posts: 3
Reputation:
Solved Threads: 0
ye ye.. but how would you go on about doing that in assembly?
i mean.. u can convert a floating point to a binary by continuously diving the remainder by 2, and 'saving' the quotient of the division whether its 1 or 0, and form the binary.
The problem that arises with this solution is that only 8 registers are provided, so that would lead to only allowing you to display a binary of 8 bits long (only).
i mean.. u can convert a floating point to a binary by continuously diving the remainder by 2, and 'saving' the quotient of the division whether its 1 or 0, and form the binary.
The problem that arises with this solution is that only 8 registers are provided, so that would lead to only allowing you to display a binary of 8 bits long (only).
![]() |
Similar Threads
- Computer Architecture Reference (Computer Science)
- Assembly - Detecting negative value and adding quotient and remainder (Assembly)
- Need help with 8086 assembly language (Assembly)
- Instruction Set / Compiler (Assembly)
- HELP in MIPS (Assembly)
- String to real and real to String (Assembly)
- Ideas for a new XT compatible OS... (IT Professionals' Lounge)
Other Threads in the Assembly Forum
- Previous Thread: Converting Decimal Value to Binary (MIPS)
- Next Thread: How to Switch into Protected Mode
| Thread Tools | Search this Thread |






