提交 e82d8ade 编写于 作者: B bellard

fixed bound memory reference


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162
上级 d2bfb39a
......@@ -1364,7 +1364,7 @@ void test_exceptions(void)
/* bound exception */
tab[0] = 1;
tab[1] = 10;
asm volatile ("bound %0, %1" : : "r" (11), "m" (tab));
asm volatile ("bound %0, %1" : : "r" (11), "m" (tab[0]));
}
printf("segment exceptions:\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册