Is this possible....


3 replies [Last post]
kelvinator
Offline
I don't know when to shut up.W007! I watched 10 vids!
Joined: 2011-09-23
Points: 60

Hey Guys, I don't know if this is possible, but I'm pretty sure it is. How hard/long would it be to write the simplest of simple programs in straight up binary, and where can I write a program in binary? I'm talking simple as in saying "Hey Buddy".

I have looked up many binary tutorials and stuff but they're all about reading or writing binary, not actually as code. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kelvinator
Offline
I don't know when to shut up.W007! I watched 10 vids!
Joined: 2011-09-23
Points: 60

For some reason, this posted like 50 times, could someone delete them please, seeing as I don't quite know how to haha

revjtanton
revjtanton's picture
Offline
When things break I did it. I am an admin!Enjoy my soothing baritone.My name if Forest WiBit.Boot up or shut up!I don't know when to shut up.I'm not a fanboy!W007! I watched 10 vids!
Joined: 2011-03-20
Points: 785

Kevin
Offline
When things break I did it. I am an admin!Enjoy my soothing baritone.Completionist. I am better than you.My name if Forest WiBit.Nothing on Earth could stop the coding...A Coding BeautyDriving Ms. ChickyYou maniac! You blew it up! The compiler that is.Halfsies!W007! I watched 10 vids!Boot up or shut up!I don't know when to shut up.I'm not a fanboy!
Joined: 2011-03-20
Points: 2570

Jason, I have always loved that cartoon!

This is a great question! I like how your mind works. Writing in binary is quite difficult. The instructions are very dependent on the system architecture. I would suggest that you first look at assembly. When you write for an assembler you are actually writing instructions for the CPU. It's quite fun, if you've never done it before.

Also, binary code is super complex and it would just not be practical to write this in plain binary. A basic Hey Buddy program written in C equates to about 20,000 bytes in Windows. That is a lot of zeros and ones!

Write a Hey Buddy program in C and open the binary file with a hex editor and see how crazy it is!!!