正在加载图片...
Problem 3.2+ 1 movl 8 (%ebp),%edi 2 movl 12(%ebp), ebx int x =*xp 3 movl 16(%ebp), %esi int y ="yp int z=zp, 4 movI (%edi, %eax yP=X, 5mov(‰ebx),%ed zp=y 6 movl (%esi, %ecx 7mov%eax,(%eb×) 8 movl %edx, (%esi 9 movl %ecx, c%edi Write C code for decode1 that will have an effect equivalent to the assembly code above 2021/10/29Problem 3.2+ 1 movl 8(%ebp), %edi 2 movl 12(%ebp), %ebx 3 movl 16(%ebp), %esi 4 movl (%edi), %eax 5 movl (%ebx), %edx 6 movl (%esi), %ecx 7 movl %eax, (%ebx) 8 movl %edx, (%esi) 9 movl %ecx, (%edi) • Write C code for decode1 that will have an effect equivalent to the assembly code above. 2021/10/29 5 int x = *xp; int y = *yp; int z = *zp; *yp = x; *zp = y; *xp = z;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有