ChinaUnix.net
相关文章推荐:

64位汇编指

如题,代码如下,用addr的值替换掉0xabbccdd,但在引用0xabbccdd的内存地址时段错误,不知是否与gcc为64位相关,请大侠们指正一下[code]int main(int argc, char *argv[]) { long addr=0x400531; __asm__ volatile ( "jmp get_addr\n\t" "start:\n\t" "pop %%rax\n\t" "mov %0,3(%%rax)\n\t" //segment erron?????????? : :"b"(addr)); // do something here........ __asm__ volatile ( "jmp entr...

by denry20 - Linux环境编程 - 2010-08-22 20:31:58 阅读(2239) 回复(1)

相关讨论

gcc编译时候: /tmp/cco0b2zU.s: Assembler messages: /tmp/cco0b2zU.s:7: Error: bad register name `%rbp' /tmp/cco0b2zU.s:9: Error: bad register name `%rsp' /tmp/cco0b2zU.s:13: Error: `stdscr(%rip)' is not a valid base/index expression 原因: 汇编被改为32位的 /usr/bin/as64 --32 $@ 解决: gcc 改成 gcc -m32(如需要32位) 或者汇编还原成64位. ...

by boisheng - Linux文档专区 - 2009-04-14 09:20:45 阅读(1561) 回复(0)

LINUX里面所说的的32位或64位, 和CPU 的32位64位是否是一回事?

by iandyouandhe - Linux论坛 - 2004-09-14 18:01:32 阅读(1131) 回复(10)

LINUX里面所说的的32位或64位, 和CPU 的32位64位是否是一回事?

by iandyouandhe - Linux系统管理 - 2004-09-14 18:01:32 阅读(1269) 回复(10)

本帖最后由 roadgo 于 2012-03-19 19:45 编辑 由于freebsd的linux模拟器不支持64elf文件 帮我做一下这个 http://forum.ubuntu.org.cn/viewtopic.php?f=35&t=361392 附件中 ./lmgrd -c ugs2.lic(要用root) 然后把包传上来

by roadgo - Linux新手园地 - 2012-04-03 22:26:52 阅读(1125) 回复(5)

各位老大们帮忙看下,下面这段代码我在32位上编译后,执行正常的,但是移到64位下编译后,运行时就出�指〉闶砦螅虢滔赂�位,谢谢。 代码如下: #include #include #include #include #include #include #include #include #include #include #include #include int main(...

by fanzhijie875151 - C/C++ - 2009-12-23 10:25:12 阅读(933) 回复(0)

各位老大们帮忙看下,下面这段代码我在32位上编译后,执行正常的,但是移到64位下编译后,运行时就出�指〉闶砦螅虢滔赂�位,谢谢。 代码如下: #include #include #include #include #include #include #include #include #include #include #include #include int main(...

by fanzhijie875151 - C/C++ - 2009-12-23 13:50:31 阅读(2327) 回复(8)

我装了一台centos 5.3 64位的系统(text安装),输入“setup”命令,不管用。以前装centos 5.3 32位的系统,输入“setup”,能出来防火墙、ip设置的选项。请问如何在64位下输入“setup”命令管用? [ 本帖最后由 goal2_0 于 2009-8-15 16:09 编辑 ]

by goal2_0 - Linux新手园地 - 2009-08-24 22:36:01 阅读(1088) 回复(4)

Ready or not, Slackware has now gone 64-bit with an official x86_64 port being maintained in-sync with the regular x86 -current branch. DVDs will be available for purchase from the Slackware store when Slackware 13.0 is released. Many thanks go out to the Slackware team for their help with this branch and a special thank you to Eric Hameleers who did the real heavy lifting re-compiling everything...

by felish - Linux文档专区 - 2009-07-30 19:41:52 阅读(592) 回复(0)

64位的Oracle在64位win 2003 上运行内存有什么限制? 32位的Oracle在64位win 2003 上运行内存有什么限制? 32位的.net应用程序在64位win 2003上运行,IIS,.net,oracle与在32位win2003上有什么区别 、

by weixf615 - Windows系统 - 2009-03-30 12:08:53 阅读(3191) 回复(0)

32位.net7应用程序在64位操作系统上运行需要那些特别要求

by weixf615 - Windows系统 - 2009-03-30 12:01:38 阅读(3082) 回复(0)