0

Hi all,

How i can convert decimal number into binary, using register mode and format 2. If, for example, you were to run the code and give it 5 as its input it should output 101.

!format = 2
!mode = REGISTER

5
Contributors
7
Replies
10
Views
9 Years
Discussion Span
Last Post by zifr
0

And which processor / assembler are you thinking about?
This isn't the psychic programming network, we've no idea what you're referring to.

0

hi...
i know how to convert any number into binary....but i dont know which format or mode are u talking about.....u can use the carry bit to output the binary representation of a number...but i think that's so simple and u r talking about something else...i m not getting ur problem...
plz elaborate!!!

0

Thes processor is Little Man computer. The format is 2 and the mode is Register

0

hi...
i know how to convert any number into binary....but i dont know which format or mode are u talking about.....u can use the carry bit to output the binary representation of a number...but i think that's so simple and u r talking about something else...i m not getting ur problem...
plz elaborate!!!

0

hi...
i know how to convert any number into binary....but i dont know which format or mode are u talking about.....u can use the carry bit to output the binary representation of a number...but i think that's so simple and u r talking about something else...i m not getting ur problem...
plz elaborate!!!

!format = 2
!mode = REGISTER

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.