正在加载图片...
UN/ Problem 5. 4(P415 At times, Gcc does its own…i· Question L6 Write C code for a addl (%eax), %edx add4(%ea×),%edx procedure combine5px8 addl 8 ( %eax), %edx that shows how pointers loop variables, and addl 12(%eax), %edx termination conditions are ad16(%ea×);%edx being computed by this add2o(‰ea×),%edx code. show the general addl 24(%eax), % edx form with arbitrary data addl 28 (%eax), % edx addl $32,%eax and combining operation in i the style of figure 5. 19 addl 8,ecx (P392). Describe how计 cmpl %esi, %ecx differs form our j.L6 handwritten pointer code (Figure 5. 22) 2021/10/29Problem 5.4 (P415) • At times, GCC does its own … .L6 addl (%eax), %edx addl 4(%eax),%edx addl 8(%eax),%edx addl 12(%eax),%edx addl 16(%eax),%edx addl 20(%eax),%edx addl 24(%eax),%edx addl 28(%eax),%edx addl $32,%eax addl $ 8,%ecx cmpl %esi, %ecx jl .L6 2021/10/29 7 • Question: Write C code for a procedure combine5px8 that shows how pointers, loop variables, and termination conditions are being computed by this code. Show the general form with arbitrary data and combining operation in the style of Figure 5.19 (P392). Describe how it differs form our handwritten pointer code (Figure 5.22)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有