正在加载图片...
Consider the examples of the output of this compiler with the following assignment (X=x+3)+4 The assembly code for this expression as produced by the borland 3.0 compiler for the Intel 80X86 is as follows mov ax, word ptr [bp-2 add ax. 3 mov word ptr [bp-2, ax add ax. 4 Notes The bp is used as the frame pointer The static simulation method is used to convert the intermediate code into the target code• Consider the examples of the output of this compiler with the following assignment (x = x +3 ) + 4 • The assembly code for this expression as produced by the Borland 3.0 compiler for the Intel 80x86 is as follows: mov ax, word ptr [bp-2] add ax, 3 mov word ptr [bp-2], ax add ax, 4 • Notes: – The bp is used as the frame pointer. – The static simulation method is used to convert the intermediate code into the target code
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有