== summary.log == ---------------------------------------------------------------------- sum_10: Test Success 2023-10-02 23:04:13 Details in /Users/kazubito/Documents/yacasl2/test/system/casl2rev/sum_10/detail.log ---------------------------------------------------------------------- == cmd == ---------------------------------------------------------------------- ../../../../casl2rev ../../../../as/sample/sum_10.o ---------------------------------------------------------------------- == 0.txt == ---------------------------------------------------------------------- MAIN START PUSH #0000,GR1 ; #0000: #7001 #0000 PUSH #0000,GR2 ; #0002: #7002 #0000 XOR GR2,GR2 ; #0004: #3622 LD GR1,#0015 ; #0005: #1010 #0015 ADDL GR2,GR1 ; #0007: #2621 ADDL GR1,#0017 ; #0008: #2210 #0017 CPL GR1,#0016 ; #000A: #4110 #0016 JPL #0010 ; #000C: #6500 #0010 JUMP #0007 ; #000E: #6400 #0007 ST GR2,#0018 ; #0010: #1120 #0018 POP GR2 ; #0012: #7120 POP GR1 ; #0013: #7110 RET ; #0014: #8100 DC 1 ; #0015: #0001 :: 1 = #0001 = 0000000000000001 DC 10 ; #0016: #000A :: 10 = #000A = 0000000000001010 = '\n' DC 1 ; #0017: #0001 :: 1 = #0001 = 0000000000000001 DC 0 ; #0018: #0000 :: 0 = #0000 = 0000000000000000 END ---------------------------------------------------------------------- == 1.txt == ---------------------------------------------------------------------- MAIN START PUSH #0000,GR1 ; #0000: #7001 #0000 PUSH #0000,GR2 ; #0002: #7002 #0000 XOR GR2,GR2 ; #0004: #3622 LD GR1,#0015 ; #0005: #1010 #0015 ADDL GR2,GR1 ; #0007: #2621 ADDL GR1,#0017 ; #0008: #2210 #0017 CPL GR1,#0016 ; #000A: #4110 #0016 JPL #0010 ; #000C: #6500 #0010 JUMP #0007 ; #000E: #6400 #0007 ST GR2,#0018 ; #0010: #1120 #0018 POP GR2 ; #0012: #7120 POP GR1 ; #0013: #7110 RET ; #0014: #8100 DC 1 ; #0015: #0001 :: 1 = #0001 = 0000000000000001 DC 10 ; #0016: #000A :: 10 = #000A = 0000000000001010 = '\n' DC 1 ; #0017: #0001 :: 1 = #0001 = 0000000000000001 DC 0 ; #0018: #0000 :: 0 = #0000 = 0000000000000000 END ----------------------------------------------------------------------