开发者

spim simulator pcspim : error setting value at an address

开发者 https://www.devze.com 2023-04-09 18:30 出处:网络
Hi I am using spim simulator pcspim and I am trying to set a value at an address using the set value option under the simulator menu.

Hi I am using spim simulator pcspim and I am trying to set a value at an address using the set value option under the simulator menu.

When I try to set a value which has an msb of 1 for ex. oxb1234567 the value at that address is defaulted to 7fffffff, can anyone explain the reason for this behaviour.

Any help app开发者_开发知识库reciated


In MIPS, addresses starting with 1 (MSB = 1) indicate kernel memory space. You cannot access kernel space from user space (which has MSB = 0) without using syscalls.

0

精彩评论

暂无评论...
验证码 换一张
取 消