在Mac汇编编程 [英] Assembly Programming on Mac

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

问题描述

我与雪豹在Mac(10.6.3)上。我听说了汇编语言和我一起工作必须与所使用芯片组有效。我完全新的这个我有在C基本背景和Objective-C编程和PHP几乎很强的背景。我一直想看到的是什么一回事组装。

I am on a Mac with Snow Leopard (10.6.3). I hear that the assembly language I work with has to be valid with the chipset that you use. I am completely new to this I have a basic background in C and Objective-C programming and an almost strong background in PHP. I have always wanted to see what assembly is all about.

我会看教程由VTC [链接]

The tutorial I'll be looking at is by VTC [link].

我想知道的是:是我即将做的Mac上的程序集的版本,我有

What I want to know is: are the tutorials that I'm about to do compatible with the assembly version on the Mac that I have?

对不起,我是完全新的这种语言,虽然我不记得学习它的一些方式,方法早在一天。我有X code和什么我不知道是什么样的文件将我在X code。打开与装配工作,并在Mac已经在一个十六进制编辑器内置(当谈到时间需要它)?

Sorry I am completely new to this language although I do recall studying some of it way, way back in the day. I do have xcode and what I'm wondering is what kind of document would I open in xcode to work with assembly and does the Mac have a built in hex editor (when it comes time to needing it)?

感谢

推荐答案

在使用汇编语言是一种不依赖操作系统上,而是你的CPU的指令集。你的Mac版来看,我说你正在使用的英特尔处理器 - 所以你会想了解x86或AMD64组装

The assembly language you use is not dependent on your OS but rather your CPU's instruction set. Judging by your Mac version, I'd say you are using an Intel processor - so you would want to learn x86 or amd64 assembly.

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

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