本文介绍了如何获得“总线错误”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我很努力地得到一个总线错误。

I am trying very hard to get a bus error.

一种方式是错位访问,我已经尝试了和,但没有错误 - 程序执行得很好。

One way is misaligned access and I have tried the examples given here and here, but no error for me - the programs execute just fine.

产生总线错误?

推荐答案

总线错误只能在硬件平台上调用:

Bus errors can only be invoked on hardware platforms that:


  1. 需要对齐访问,

  2. 不要通过执行两个对齐的访问并合并结果来补偿未对齐的访问。

您可能无法访问此类系统。

You probably do not have access to such a system.

这篇关于如何获得“总线错误”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 15:59
查看更多