15-large-mem.dcf

来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· DCF 代码 · 共 21 行

DCF
21
字号
// test callouts that access lots of external memory.class Program{    //int i, j;    int x,y;    int a[10];    void main()    {		    		int i;    		i = 0;        while (i < 10) {            callout("printf", "accessing chunk %d (%d)\n",                    i, a[i]);                                    i = i + 1;        }    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?