学习汇编 [英] Learning assembly

查看:89
本文介绍了学习汇编的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我决定学习汇编语言。主要的原因这样做是能够理解拆解code,也许能够编写code更有效的部件(例如,通过C ++),做这样code洞穴等我出头看到有组件的数不胜数的不同口味,所以,对于我提到的目的,我应该如何开始呢?我应该学习什么样的集会?我想首先做一些简单的程序(即一个计算器)学习,但本身会得到它accostumed的目标,所以我可以理解code所示,例如,通过IDA Pro中。

我使用Windows(如果让任何区别)。

编辑:那么,似乎每个人都朝着MASM指向。虽然我得到了它具有较高水平的能力,都好了大会code程序员,这不是我要找的点。它似乎有如果,调用等未显示在流行deassemblers(如IDA)的说明。所以,想什么,我听到的话,可能是任何人使用ASM作为我要求(读IDA deassembled的exe code)的目的,不只是一般的组装程序员的意见。

编辑:OK。我已经学习汇编。我学习MASM,不使用高层次的东西,这并不重要,我。我在做什么,现在正在尝试在C ++ __asm​​指令我的code,这样我就可以尝试的东西比我不得不这样做一切从头开始与MASM方式更快。<​​/ P>

解决方案

开始使用 MASM32 并从那里看FASM。但是,你有乐趣MASM。

I decided to learn Assembly language. The main reason to do so is being able to understand disassembled code and maybe being able to write more efficient parts of code (for example, through c++), doing somethings like code caves, etc. I saw there are a zillion different flavors of assembly, so, for the purposes I mention, how should I start? What kind of assembly should I learn? I want to learn by first doing some easy programs (i.e. a calculator), but the goal itself will be to get accostumed with it so I can understand the code shown, for example, by IDA Pro.

I'm using windows (if that makes any difference).

edit: So, seems everyone is pointing towards MASM. Although I get the point that it has high level capabilities, all good for the assembly code programmer, that's not what I'm looking for. It seems to have if, invoke, etc instructions not shown in popular deassemblers (like IDA). So what I'd like to hear if possible, is the opinion of anyone that uses ASM for the purposes I am asking (reading deassembled exe's code in IDA), not just "general" assembly programmers.

edit: OK. I am already learning assembly. I am learning MASM, not using the high level stuff that doesn't matter to me. What I'm doing right now is trying out my code on __asm directives in c++, so I can try out things way faster than if I had to do everything from scratch with MASM.

解决方案

Start with MASM32 and from there look at FASM. But you'll have fun with MASM.

这篇关于学习汇编的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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