== summary.log == ---------------------------------------------------------------------- opt_slaO: Test Success 2023-10-02 23:01:23 Details in /Users/kazubito/Documents/yacasl2/test/system/casl2_opt/opt_slaO/detail.log ---------------------------------------------------------------------- == cmd == ---------------------------------------------------------------------- sh cmd_valgrind od -x a.o ---------------------------------------------------------------------- == 0.txt == ---------------------------------------------------------------------- Assemble ../../../../as/sample/sum_10.casl (0) ../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl ../../../../as/sample/sum_10.casl: 2:;;; 1から10までの整数をすべて加算した値をメモリーに格納する ../../../../as/sample/sum_10.casl: 3:MAIN START ../../../../as/sample/sum_10.casl: 4: XOR GR2,GR2 ; GR2を初期化 ../../../../as/sample/sum_10.casl: 5: LD GR1,FST ; GR1に初項をメモリーから転送 ../../../../as/sample/sum_10.casl: 6:LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1 ../../../../as/sample/sum_10.casl: 7: ADDL GR1,STEP ; GR1 <- GR1 + 公差 ../../../../as/sample/sum_10.casl: 8: CPL GR1,LST ; GR1が末項より大きい場合は終了 ../../../../as/sample/sum_10.casl: 9: JPL FIN ; ↓ ../../../../as/sample/sum_10.casl: 10: JUMP LOOP ; ループ終端 ../../../../as/sample/sum_10.casl: 11:FIN ST GR2,RST ; GR2の結果をメモリーに転送 ../../../../as/sample/sum_10.casl: 12: RET ../../../../as/sample/sum_10.casl: 13:FST DC 1 ; 初項 ../../../../as/sample/sum_10.casl: 14:LST DC 10 ; 末項 ../../../../as/sample/sum_10.casl: 15:STEP DC 1 ; 公差 ../../../../as/sample/sum_10.casl: 16:RST DS 1 ; 結果 ../../../../as/sample/sum_10.casl: 17: END Label:::: MAIN ---> #0000 MAIN.LOOP ---> #0003 MAIN.FIN ---> #000C MAIN.FST ---> #000F MAIN.LST ---> #0010 MAIN.STEP ---> #0011 MAIN.RST ---> #0012 Assemble ../../../../as/sample/sum_10.casl (1) ../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl ../../../../as/sample/sum_10.casl: 2:;;; 1から10までの整数をすべて加算した値をメモリーに格納する ../../../../as/sample/sum_10.casl: 3:MAIN START ../../../../as/sample/sum_10.casl: 4: XOR GR2,GR2 ; GR2を初期化 #0000 #3622 ../../../../as/sample/sum_10.casl: 5: LD GR1,FST ; GR1に初項をメモリーから転送 #0001 #1010 #0002 #000F ../../../../as/sample/sum_10.casl: 6:LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1 #0003 #2621 ../../../../as/sample/sum_10.casl: 7: ADDL GR1,STEP ; GR1 <- GR1 + 公差 #0004 #2210 #0005 #0011 ../../../../as/sample/sum_10.casl: 8: CPL GR1,LST ; GR1が末項より大きい場合は終了 #0006 #4110 #0007 #0010 ../../../../as/sample/sum_10.casl: 9: JPL FIN ; ↓ #0008 #6500 #0009 #000C ../../../../as/sample/sum_10.casl: 10: JUMP LOOP ; ループ終端 #000A #6400 #000B #0003 ../../../../as/sample/sum_10.casl: 11:FIN ST GR2,RST ; GR2の結果をメモリーに転送 #000C #1120 #000D #0012 ../../../../as/sample/sum_10.casl: 12: RET #000E #8100 ../../../../as/sample/sum_10.casl: 13:FST DC 1 ; 初項 #000F #0001 ../../../../as/sample/sum_10.casl: 14:LST DC 10 ; 末項 #0010 #000A ../../../../as/sample/sum_10.casl: 15:STEP DC 1 ; 公差 #0011 #0001 ../../../../as/sample/sum_10.casl: 16:RST DS 1 ; 結果 #0012 #0000 ../../../../as/sample/sum_10.casl: 17: END 0000000 3622 1010 000f 2621 2210 0011 4110 0010 0000020 6500 000c 6400 0003 1120 0012 8100 0001 0000040 000a 0001 0000 0000046 ---------------------------------------------------------------------- == 1.txt == ---------------------------------------------------------------------- Assemble ../../../../as/sample/sum_10.casl (0) ../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl ../../../../as/sample/sum_10.casl: 2:;;; 1から10までの整数をすべて加算した値をメモリーに格納する ../../../../as/sample/sum_10.casl: 3:MAIN START ../../../../as/sample/sum_10.casl: 4: XOR GR2,GR2 ; GR2を初期化 ../../../../as/sample/sum_10.casl: 5: LD GR1,FST ; GR1に初項をメモリーから転送 ../../../../as/sample/sum_10.casl: 6:LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1 ../../../../as/sample/sum_10.casl: 7: ADDL GR1,STEP ; GR1 <- GR1 + 公差 ../../../../as/sample/sum_10.casl: 8: CPL GR1,LST ; GR1が末項より大きい場合は終了 ../../../../as/sample/sum_10.casl: 9: JPL FIN ; ↓ ../../../../as/sample/sum_10.casl: 10: JUMP LOOP ; ループ終端 ../../../../as/sample/sum_10.casl: 11:FIN ST GR2,RST ; GR2の結果をメモリーに転送 ../../../../as/sample/sum_10.casl: 12: RET ../../../../as/sample/sum_10.casl: 13:FST DC 1 ; 初項 ../../../../as/sample/sum_10.casl: 14:LST DC 10 ; 末項 ../../../../as/sample/sum_10.casl: 15:STEP DC 1 ; 公差 ../../../../as/sample/sum_10.casl: 16:RST DS 1 ; 結果 ../../../../as/sample/sum_10.casl: 17: END Label:::: MAIN ---> #0000 MAIN.LOOP ---> #0003 MAIN.FIN ---> #000C MAIN.FST ---> #000F MAIN.LST ---> #0010 MAIN.STEP ---> #0011 MAIN.RST ---> #0012 Assemble ../../../../as/sample/sum_10.casl (1) ../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl ../../../../as/sample/sum_10.casl: 2:;;; 1から10までの整数をすべて加算した値をメモリーに格納する ../../../../as/sample/sum_10.casl: 3:MAIN START ../../../../as/sample/sum_10.casl: 4: XOR GR2,GR2 ; GR2を初期化 #0000 #3622 ../../../../as/sample/sum_10.casl: 5: LD GR1,FST ; GR1に初項をメモリーから転送 #0001 #1010 #0002 #000F ../../../../as/sample/sum_10.casl: 6:LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1 #0003 #2621 ../../../../as/sample/sum_10.casl: 7: ADDL GR1,STEP ; GR1 <- GR1 + 公差 #0004 #2210 #0005 #0011 ../../../../as/sample/sum_10.casl: 8: CPL GR1,LST ; GR1が末項より大きい場合は終了 #0006 #4110 #0007 #0010 ../../../../as/sample/sum_10.casl: 9: JPL FIN ; ↓ #0008 #6500 #0009 #000C ../../../../as/sample/sum_10.casl: 10: JUMP LOOP ; ループ終端 #000A #6400 #000B #0003 ../../../../as/sample/sum_10.casl: 11:FIN ST GR2,RST ; GR2の結果をメモリーに転送 #000C #1120 #000D #0012 ../../../../as/sample/sum_10.casl: 12: RET #000E #8100 ../../../../as/sample/sum_10.casl: 13:FST DC 1 ; 初項 #000F #0001 ../../../../as/sample/sum_10.casl: 14:LST DC 10 ; 末項 #0010 #000A ../../../../as/sample/sum_10.casl: 15:STEP DC 1 ; 公差 #0011 #0001 ../../../../as/sample/sum_10.casl: 16:RST DS 1 ; 結果 #0012 #0000 ../../../../as/sample/sum_10.casl: 17: END 0000000 3622 1010 000f 2621 2210 0011 4110 0010 0000020 6500 000c 6400 0003 1120 0012 8100 0001 0000040 000a 0001 0000 0000046 ----------------------------------------------------------------------