是否有可能在二进制编程? [英] Is it possible to program in binary?

查看:119
本文介绍了是否有可能在二进制编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题确实说明了一切。我的一个朋友告诉我,他知道谁可以在二进制程序。我从来没有听说过有人编程的二进制和几个简单的谷歌搜索没有返回任何有用的东西。所以,我想我会转向SO社区。有没有人有二进制如果可能的话,也许一个快速的Hello World示例程序上的任何信息。先谢谢了。

The title really says it all. A friend of mine told me he knows someone who can program in binary. I've never heard of someone programming in binary and a few quick Google searches didn't return anything useful. So I figured I'd turn to the SO community. Does anyone have any info on programming in binary and if possible maybe a quick Hello World example. Thanks in advance.

推荐答案

当然。它通常称机code 。它基本上汇编语言没有记忆装置。人谁知道组装很可能会在机code额外的努力编程,指运code列表(如 86 )根据需要。

Of course. It's more commonly called machine code. It's basically assembly language without the mnemonic devices. Someone who knows assembly very well could program in machine code with additional effort, referring to opcode listings (e.g. x86) as needed.

我可怎么办呢?即使号组装仅在极少数情况下是有用的,而且也没有理由(展示你的技能旁)拒绝汇编的帮助。

Would I do it? No. Even assembly is only useful in rare circumstances, and there's no reason (beside demonstrating your skills) to reject the assembler's help.

既然你问世界你好,你应该看看这篇文章。他演示了他是如何写的,再优化,在x86 ELF程序输出。它最初是写在 NASM 然后在十六进制编辑器修改。

Since you asked about hello world, you should check out this article. He shows how he wrote, then optimized, an x86 ELF program to output it. It was originally written in nasm then modified in a hex editor.

这篇关于是否有可能在二进制编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆