== summary.log == ---------------------------------------------------------------------- cmd_call__both: Test Success 2023-10-02 23:02:25 Details in /Users/kazubito/Documents/yacasl2/test/system/casl2_cmd/cmd_call__both/detail.log ---------------------------------------------------------------------- == cmd == ---------------------------------------------------------------------- ../../../../casl2 -atd -M16 ../../../../as/cmd/CALL/call__both.casl ---------------------------------------------------------------------- == 0.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/CALL/call__both.casl (0) Assemble ../../../../as/cmd/CALL/call__both.casl (1) ../../../../as/cmd/CALL/call__both.casl: 1:;;; CALL ../../../../as/cmd/CALL/call__both.casl: 2:;;; 同じプログラムの中とほかのプログラムの入口名の両方で定義されたラベルを指定 ../../../../as/cmd/CALL/call__both.casl: 3:;;; YACASL2では、ほかのプログラムの入口名を優先 ../../../../as/cmd/CALL/call__both.casl: 4:MAIN START BEGIN ../../../../as/cmd/CALL/call__both.casl: 5:BEGIN LAD GR1,29 #0000 #1210 #0001 #001D ../../../../as/cmd/CALL/call__both.casl: 6: CALL COPY #0002 #8000 #0003 #0007 ../../../../as/cmd/CALL/call__both.casl: 7: RET #0004 #8100 ../../../../as/cmd/CALL/call__both.casl: 8:COPY LD GR2,GR1 #0005 #1421 ../../../../as/cmd/CALL/call__both.casl: 9: RET #0006 #8100 ../../../../as/cmd/CALL/call__both.casl: 10: END ../../../../as/cmd/CALL/call__both.casl: 11:COPY START ../../../../as/cmd/CALL/call__both.casl: 12: LD GR2,GR1 #0007 #1421 ../../../../as/cmd/CALL/call__both.casl: 13: RET #0008 #8100 ../../../../as/cmd/CALL/call__both.casl: 14: END Executing machine codes #0000: Register:::: #0000: GR0: 0 = #0000 = 0000000000000000 #0000: GR1: 0 = #0000 = 0000000000000000 #0000: GR2: 0 = #0000 = 0000000000000000 #0000: GR3: 0 = #0000 = 0000000000000000 #0000: GR4: 0 = #0000 = 0000000000000000 #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 #0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #0000: FR (OF SF ZF): 000 #0000: Memory:::: #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0000: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 29 = #001D = 0000000000011101 #0002: GR2: 0 = #0000 = 0000000000000000 #0002: GR3: 0 = #0000 = 0000000000000000 #0002: GR4: 0 = #0000 = 0000000000000000 #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 #0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #0002: FR (OF SF ZF): 000 #0002: Memory:::: #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0002: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 #0007: Register:::: #0007: GR0: 0 = #0000 = 0000000000000000 #0007: GR1: 29 = #001D = 0000000000011101 #0007: GR2: 0 = #0000 = 0000000000000000 #0007: GR3: 0 = #0000 = 0000000000000000 #0007: GR4: 0 = #0000 = 0000000000000000 #0007: GR5: 0 = #0000 = 0000000000000000 #0007: GR6: 0 = #0000 = 0000000000000000 #0007: GR7: 0 = #0000 = 0000000000000000 #0007: SP: 15 = #000F = 0000000000001111 #0007: PR: 7 = #0007 = 0000000000000111 #0007: FR (OF SF ZF): 000 #0007: Memory:::: #0007: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0007: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 #0008: Register:::: #0008: GR0: 0 = #0000 = 0000000000000000 #0008: GR1: 29 = #001D = 0000000000011101 #0008: GR2: 29 = #001D = 0000000000011101 #0008: GR3: 0 = #0000 = 0000000000000000 #0008: GR4: 0 = #0000 = 0000000000000000 #0008: GR5: 0 = #0000 = 0000000000000000 #0008: GR6: 0 = #0000 = 0000000000000000 #0008: GR7: 0 = #0000 = 0000000000000000 #0008: SP: 15 = #000F = 0000000000001111 #0008: PR: 8 = #0008 = 0000000000001000 #0008: FR (OF SF ZF): 000 #0008: Memory:::: #0008: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0008: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 29 = #001D = 0000000000011101 #0004: GR2: 29 = #001D = 0000000000011101 #0004: GR3: 0 = #0000 = 0000000000000000 #0004: GR4: 0 = #0000 = 0000000000000000 #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 #0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #0004: FR (OF SF ZF): 000 #0004: Memory:::: #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0004: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 ---------------------------------------------------------------------- == 1.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/CALL/call__both.casl (0) Assemble ../../../../as/cmd/CALL/call__both.casl (1) ../../../../as/cmd/CALL/call__both.casl: 1:;;; CALL ../../../../as/cmd/CALL/call__both.casl: 2:;;; 同じプログラムの中とほかのプログラムの入口名の両方で定義されたラベルを指定 ../../../../as/cmd/CALL/call__both.casl: 3:;;; YACASL2では、ほかのプログラムの入口名を優先 ../../../../as/cmd/CALL/call__both.casl: 4:MAIN START BEGIN ../../../../as/cmd/CALL/call__both.casl: 5:BEGIN LAD GR1,29 #0000 #1210 #0001 #001D ../../../../as/cmd/CALL/call__both.casl: 6: CALL COPY #0002 #8000 #0003 #0007 ../../../../as/cmd/CALL/call__both.casl: 7: RET #0004 #8100 ../../../../as/cmd/CALL/call__both.casl: 8:COPY LD GR2,GR1 #0005 #1421 ../../../../as/cmd/CALL/call__both.casl: 9: RET #0006 #8100 ../../../../as/cmd/CALL/call__both.casl: 10: END ../../../../as/cmd/CALL/call__both.casl: 11:COPY START ../../../../as/cmd/CALL/call__both.casl: 12: LD GR2,GR1 #0007 #1421 ../../../../as/cmd/CALL/call__both.casl: 13: RET #0008 #8100 ../../../../as/cmd/CALL/call__both.casl: 14: END Executing machine codes #0000: Register:::: #0000: GR0: 0 = #0000 = 0000000000000000 #0000: GR1: 0 = #0000 = 0000000000000000 #0000: GR2: 0 = #0000 = 0000000000000000 #0000: GR3: 0 = #0000 = 0000000000000000 #0000: GR4: 0 = #0000 = 0000000000000000 #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 #0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #0000: FR (OF SF ZF): 000 #0000: Memory:::: #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0000: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 29 = #001D = 0000000000011101 #0002: GR2: 0 = #0000 = 0000000000000000 #0002: GR3: 0 = #0000 = 0000000000000000 #0002: GR4: 0 = #0000 = 0000000000000000 #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 #0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #0002: FR (OF SF ZF): 000 #0002: Memory:::: #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0002: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 #0007: Register:::: #0007: GR0: 0 = #0000 = 0000000000000000 #0007: GR1: 29 = #001D = 0000000000011101 #0007: GR2: 0 = #0000 = 0000000000000000 #0007: GR3: 0 = #0000 = 0000000000000000 #0007: GR4: 0 = #0000 = 0000000000000000 #0007: GR5: 0 = #0000 = 0000000000000000 #0007: GR6: 0 = #0000 = 0000000000000000 #0007: GR7: 0 = #0000 = 0000000000000000 #0007: SP: 15 = #000F = 0000000000001111 #0007: PR: 7 = #0007 = 0000000000000111 #0007: FR (OF SF ZF): 000 #0007: Memory:::: #0007: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0007: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 #0008: Register:::: #0008: GR0: 0 = #0000 = 0000000000000000 #0008: GR1: 29 = #001D = 0000000000011101 #0008: GR2: 29 = #001D = 0000000000011101 #0008: GR3: 0 = #0000 = 0000000000000000 #0008: GR4: 0 = #0000 = 0000000000000000 #0008: GR5: 0 = #0000 = 0000000000000000 #0008: GR6: 0 = #0000 = 0000000000000000 #0008: GR7: 0 = #0000 = 0000000000000000 #0008: SP: 15 = #000F = 0000000000001111 #0008: PR: 8 = #0008 = 0000000000001000 #0008: FR (OF SF ZF): 000 #0008: Memory:::: #0008: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0008: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 29 = #001D = 0000000000011101 #0004: GR2: 29 = #001D = 0000000000011101 #0004: GR3: 0 = #0000 = 0000000000000000 #0004: GR4: 0 = #0000 = 0000000000000000 #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 #0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #0004: FR (OF SF ZF): 000 #0004: Memory:::: #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0004: 0000: 1210 001D 8000 0007 8100 1421 8100 1421 8100 0000 0000 0000 0000 0000 0000 0003 ----------------------------------------------------------------------