Convert decimal to binary/octal/hex in assembly?

  • Thread starter Thread starter blackbird777
  • Start date Start date
  • Tags Tags
    Assembly Convert
Click For Summary
SUMMARY

The discussion centers on writing an assembly program using EMU8086 to convert decimal numbers into binary, octal, and hexadecimal formats. The user has a foundational understanding of assembly language and seeks assistance in developing the conversion algorithms. Participants are encouraged to share their assembly code attempts or outline their algorithms to facilitate collaborative learning and problem-solving.

PREREQUISITES
  • Basic understanding of assembly language programming
  • Familiarity with EMU8086 emulator
  • Knowledge of number systems: binary, octal, hexadecimal
  • Experience with algorithm design for number conversion
NEXT STEPS
  • Research EMU8086 assembly syntax and instructions
  • Learn about binary, octal, and hexadecimal conversion algorithms
  • Explore examples of number conversion in assembly language
  • Practice writing and debugging assembly code in EMU8086
USEFUL FOR

Students learning assembly language, programmers transitioning from high-level languages like Java, and anyone interested in low-level number conversion techniques.

blackbird777
Messages
2
Reaction score
0

Homework Statement



I want to write an assembly program to convert a decimal to binary, octal, and hexadecimal but don't know how. I already know how to program the conversions in Java. I have a basic understanding of how assembly works and computer architecture. I am trying to use the program EMU8086 for this. Can someone help me out?
 
Physics news on Phys.org
Show us your attempt at assembly code or the algorithm you're planning to use, and we can go from there.
 

Similar threads

  • · Replies 102 ·
4
Replies
102
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 22 ·
Replies
22
Views
5K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 13 ·
Replies
13
Views
5K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
Replies
11
Views
6K