fixed bound memory reference

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-08-15 14:47:30 +00:00
parent d2bfb39ad2
commit e82d8ade13

View File

@ -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");