Algorithms

Moderators: None (Apply to moderate this forum)
Number of threads: 402
Number of posts: 786

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Binary programming???? Posted by CleverKid on 19 Mar 2002 at 9:54 AM
How could you programm in binary numbers????
Do you need any software to do this(a compiler etc...) or what?
If anyone has some links or info I'd like to get a hint!

Thanks in advance!
-CleverKid
Report
Re: Binary programming???? Posted by jeffpost on 20 Mar 2002 at 8:46 PM
: How could you programm in binary numbers????
: Do you need any software to do this(a compiler etc...) or what?
: If anyone has some links or info I'd like to get a hint!
:
: Thanks in advance!
: -CleverKid
:
All programs are in binary numbers.

But I suspect that's not what you meant. Do you mean machine programming? I used to do that on a PDP-11 by entering binary codes on the front panel switches, but why on Earth would anyone want to do that now?


Report
Re: Binary programming???? Posted by BenGreen on 22 Mar 2002 at 4:25 AM
: How could you programm in binary numbers????
: Do you need any software to do this(a compiler etc...) or what?
: If anyone has some links or info I'd like to get a hint!
:
: Thanks in advance!
: -CleverKid
:

The first programmable computer the BABY built at the Universith of Manchester in England had its 50th birthday in 1998 and a simulator for programming its 1024 BIT! programme memory has been written. With this simulator you can programme the BABY in 1's and 0's for more information please visit www.computer50.org.

I hope this is of help for you.
Report
Re: Binary programming???? Posted by jeffpost on 22 Mar 2002 at 9:21 AM

:
: The first programmable computer the BABY built at the Universith of Manchester in England had its 50th birthday in 1998 and a simulator for programming its 1024 BIT! programme memory has been written. With this simulator you can programme the BABY in 1's and 0's for more information please visit www.computer50.org.
:
To download the simulator, go to www.cs.man.ac.uk/CCS/ccs_arc4.htm

Report
Re: Binary programming???? Posted by Josh Code on 16 Jun 2002 at 12:52 PM
If your still interested, binary numbers are used to store code in a way that can be executed by the computer's processor. This code is called machine code.
In the 40's and 50's people programmed with binary code on punch cards but the assembly language was created. Each assembly statement coresponds to a few bytes of machine code. Assembly is much easier to use than machine code. After the invention of assembly, high-level languages were created, which made it faster and easier still to program. The stressful and teadious work of creating machine code is left to the assemblers and compilers.
I don't know why you would want to program in binary numbers but you can. I have done just for the fun of knowing that I made a program with numbers. All you need is to store the numbers in memory somewhere. If you want to execute the code, just use a jump instruction in assembly. This will cause the processor to start loading the numbers like they are part of your program. Just be careful
about what numbers you use because this can cause problems.


: How could you programm in binary numbers????
: Do you need any software to do this(a compiler etc...) or what?
: If anyone has some links or info I'd like to get a hint!
:
: Thanks in advance!
: -CleverKid
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.