ARM(拇指)固件模组...如何将几行 ASM 代码转换为代码来制作模组

发布于 2025-01-05 17:04:52 字数 225 浏览 4 评论 0原文

有用IDA(ARM920 Core)反汇编的固件..大部分是Thumb模式....有些是ARM模式 想用 ASM 制作一些模组。

将几行 ASM(或者几十行)转换为机器语言的最简单方法是什么? 有人可以推荐一款免费工具/如何使用吗?

我刚刚下载了WinARM。附带程序员记事本。已经几个小时了,试图理解这一切...只是为了编译几行 ASM...而我制作的 MAKE 文件仍然无法工作(关于行尾的一些事情)

Have firmware disassmbled with IDA (ARM920 Core).. most is Thumb mode....some is ARM mode
Want to make some mods, in ASM.

What is the easiest way to turn few lines of ASM (well few dozen) into machine language.
Can some one suggest a FREE tool / how to.

I just downloaded WinARM. Comes with Programmers Notepad. Been few hours now, trying to make sense of it all... just to compile a few lines of ASM... and the MAKE file i made, is still not working (some thing about end of line)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝不服输 2025-01-12 17:04:52

将汇编代码转换为机器代码的工具称为汇编器。任何常用的工具链都包含一个。对于 ARM,您可以尝试旧的 gcc。来源与可用的二进制文件: http://www.gnuarm.com/

运行汇编器应该像这样简单

gcc -o example.o example.s

:您必须将示例中的 gcc 替换为您的交叉编译器的名称。我认为上面链接中的那个是arm-elf-gcc。

A tool that turns assembly code into machine code is called an assembler. Any of the usual toolchains include one. For ARM, you can try good old gcc. Source & binaries available: http://www.gnuarm.com/

Running the assembler should be as easy as:

gcc -o example.o example.s

You'll have to replace gcc in the example with the name of your cross-compiler. I think the one from the link I have above is arm-elf-gcc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文