• 2022-10-30 问题

    IA-32中指令“movl 8(%edx, %esi,4), %edx”的功能是( )。

    IA-32中指令“movl 8(%edx, %esi,4), %edx”的功能是( )。

  • 2022-10-31 问题

    第22题中caller函数对应的机器级代码如下:1 pushl %ebp2 movl %esp, %ebp3 subl $24, %esp4 movl $100, -12(%ebp)5 movl $200, -8(%ebp)6 movl -8(%ebp), %eax7 movl %eax, 4(%esp)8 movl -12(%ebp), %eax9 movl %eax, (%esp)10 call add11 movl %eax, -4(%esp)12 movl -4(%ebp), %eax13 leave14 ret假定caller的调用过程为P,对于上述指令序列,以下叙述中错误的是()。 A: 第1条指令将过程P的EBP内容压入caller栈帧 B: 第2条指令使EBP内容指向caller栈帧的底部 C: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧 D: 从上述指令序列可看出,caller函数没有使用被调用者保存寄存器

    第22题中caller函数对应的机器级代码如下:1 pushl %ebp2 movl %esp, %ebp3 subl $24, %esp4 movl $100, -12(%ebp)5 movl $200, -8(%ebp)6 movl -8(%ebp), %eax7 movl %eax, 4(%esp)8 movl -12(%ebp), %eax9 movl %eax, (%esp)10 call add11 movl %eax, -4(%esp)12 movl -4(%ebp), %eax13 leave14 ret假定caller的调用过程为P,对于上述指令序列,以下叙述中错误的是()。 A: 第1条指令将过程P的EBP内容压入caller栈帧 B: 第2条指令使EBP内容指向caller栈帧的底部 C: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧 D: 从上述指令序列可看出,caller函数没有使用被调用者保存寄存器

  • 2022-10-31 问题

    IA-32中指令“movl 8(%ebp),%edx”的功能是( )。 A: M[R[ebp]+8] B: R[edx] C: R[ebp]+8 D: R[edx]

    IA-32中指令“movl 8(%ebp),%edx”的功能是( )。 A: M[R[ebp]+8] B: R[edx] C: R[ebp]+8 D: R[edx]

  • 2022-10-31 问题

    第2题中的caller函数对应的机器级代码如下:[br][/br] 1 pushl %ebp 2 movl %esp, %ebp 3 subl $24, %esp 4 movl $100, -12(%ebp) 5 movl $200, -8(%ebp) 6 movl -8(%ebp), %eax 7 movl %eax, 4(%esp) 8 movl -12(%ebp), %eax 9 movl %eax, (%esp) 10 call add 11 movl %eax, -4(%ebp) 12 movl -4(%ebp), %eax 13 leave 14 ret 假定caller的调用过程为P,对于上述指令序列,以下叙述中错误的是( )。 A: 第2条指令使BEP内容指向caller栈帧的底部 B: 从上述指令序列可看出,caller函数没有使用被调用者保存寄存器 C: 第1条指令将过程P的EBP内容压入caller栈帧 D: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧

    第2题中的caller函数对应的机器级代码如下:[br][/br] 1 pushl %ebp 2 movl %esp, %ebp 3 subl $24, %esp 4 movl $100, -12(%ebp) 5 movl $200, -8(%ebp) 6 movl -8(%ebp), %eax 7 movl %eax, 4(%esp) 8 movl -12(%ebp), %eax 9 movl %eax, (%esp) 10 call add 11 movl %eax, -4(%ebp) 12 movl -4(%ebp), %eax 13 leave 14 ret 假定caller的调用过程为P,对于上述指令序列,以下叙述中错误的是( )。 A: 第2条指令使BEP内容指向caller栈帧的底部 B: 从上述指令序列可看出,caller函数没有使用被调用者保存寄存器 C: 第1条指令将过程P的EBP内容压入caller栈帧 D: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧

  • 2022-05-30 问题

    以下指令哪条是错误的()。 A: movl8(%edx),(%ecx) B: movl$-17,%ecx C: movl$0x4050,(%eax) D: movl%eax,%ecx

    以下指令哪条是错误的()。 A: movl8(%edx),(%ecx) B: movl$-17,%ecx C: movl$0x4050,(%eax) D: movl%eax,%ecx

  • 2022-10-31 问题

    在第3题中的caller函数对应的机器级代码表示如下: 1 pushl %ebp 2 movl %esp, %ebp[br][/br] 3 subl $24, %esp[br][/br] 4 movl $100, -12(%ebp)[br][/br] 5 movl $200, -8(%ebp)[br][/br] 6 movl -8(%ebp), %eax[br][/br] 7 movl %eax, 4(esp)[br][/br] 8 movl -12(%ebp), %eax[br][/br] 9 movl %eax, (%esp)[br][/br] 10 call add[br][/br] 11 movl %eax, -4(%ebp)[br][/br] 12 movl -4(%ebp), %eax[br][/br] 13 leave[br][/br] 14 ret 假定caller的调用过程是P,对于上述指令序列,以下叙述中错误的是()。 A: 第1条指令将过程P的EBP内容压入caller栈帧 B: 第2条指令使EBP内容指向caller栈帧的底部 C: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧 D: 从上述指令序列可以看出,caller函数没有使用被调用者保持寄存器

    在第3题中的caller函数对应的机器级代码表示如下: 1 pushl %ebp 2 movl %esp, %ebp[br][/br] 3 subl $24, %esp[br][/br] 4 movl $100, -12(%ebp)[br][/br] 5 movl $200, -8(%ebp)[br][/br] 6 movl -8(%ebp), %eax[br][/br] 7 movl %eax, 4(esp)[br][/br] 8 movl -12(%ebp), %eax[br][/br] 9 movl %eax, (%esp)[br][/br] 10 call add[br][/br] 11 movl %eax, -4(%ebp)[br][/br] 12 movl -4(%ebp), %eax[br][/br] 13 leave[br][/br] 14 ret 假定caller的调用过程是P,对于上述指令序列,以下叙述中错误的是()。 A: 第1条指令将过程P的EBP内容压入caller栈帧 B: 第2条指令使EBP内容指向caller栈帧的底部 C: 第3条指令将栈指针ESP向高地址方向移动,以生成当前栈帧 D: 从上述指令序列可以看出,caller函数没有使用被调用者保持寄存器

  • 2022-10-31 问题

    IA-32 中指令 “movl 8(%ebp), %edx"的功能是 ____? A: M[R[ebp]+8]←R[edx] B: R[edx]←M[R[ebp]+8] C: R[ebp]+8←R[edx] D: R[edx]←R[ebp]+8

    IA-32 中指令 “movl 8(%ebp), %edx"的功能是 ____? A: M[R[ebp]+8]←R[edx] B: R[edx]←M[R[ebp]+8] C: R[ebp]+8←R[edx] D: R[edx]←R[ebp]+8

  • 2022-07-29 问题

    寻址方式是直接寻址的指令是() A: movl %eax,%edx B: movw $0x123,%ax C: movb 0x12,%ah D: movl (%ebx),%edx

    寻址方式是直接寻址的指令是() A: movl %eax,%edx B: movw $0x123,%ax C: movb 0x12,%ah D: movl (%ebx),%edx

  • 2022-05-30 问题

    下面哪条指令的寻址方式是寄存器寻址方式? A: . movb 0x12, %ah B: . movw $0x123, %ax C: . movl (%ebx), %edx D: . movl %eax, %edx

    下面哪条指令的寻址方式是寄存器寻址方式? A: . movb 0x12, %ah B: . movw $0x123, %ax C: . movl (%ebx), %edx D: . movl %eax, %edx

  • 2021-04-14 问题

    在空栈状态下,以下代码执行完成后,esp指向哪里?()pushl$8movl%esp,%ebppushl%esppushl$8addl$4,%esppopl%esp</p></p>

    在空栈状态下,以下代码执行完成后,esp指向哪里?()pushl$8movl%esp,%ebppushl%esppushl$8addl$4,%esppopl%esp</p></p>

  • 1 2 3 4 5 6 7 8 9 10