== summary.log == ---------------------------------------------------------------------- cmd_call__inner: Test Success 2023-10-02 23:01:52 Details in /Users/kazubito/Documents/yacasl2/test/system/casl2_cmd/cmd_call__inner/detail.log ---------------------------------------------------------------------- == cmd == ---------------------------------------------------------------------- ../../../../casl2 -atd -M16 ../../../../as/cmd/CALL/call__inner.casl ---------------------------------------------------------------------- == 0.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/CALL/call__inner.casl (0) Assemble ../../../../as/cmd/CALL/call__inner.casl (1) ../../../../as/cmd/CALL/call__inner.casl: 1:;;; CALL 同じプログラムの中にあるラベルを指定 ../../../../as/cmd/CALL/call__inner.casl: 2:MAIN START BEGIN ../../../../as/cmd/CALL/call__inner.casl: 3:BEGIN LAD GR1,29 #0000 #1210 #0001 #001D ../../../../as/cmd/CALL/call__inner.casl: 4: CALL COPY #0002 #8000 #0003 #0005 ../../../../as/cmd/CALL/call__inner.casl: 5: RET #0004 #8100 ../../../../as/cmd/CALL/call__inner.casl: 6:COPY LD GR2,GR1 #0005 #1421 ../../../../as/cmd/CALL/call__inner.casl: 7: RET #0006 #8100 ../../../../as/cmd/CALL/call__inner.casl: 8: 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 0005 8100 1421 8100 0000 0000 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 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 29 = #001D = 0000000000011101 #0005: GR2: 0 = #0000 = 0000000000000000 #0005: GR3: 0 = #0000 = 0000000000000000 #0005: GR4: 0 = #0000 = 0000000000000000 #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 #0005: SP: 15 = #000F = 0000000000001111 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0005: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0003 #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 #0006: GR1: 29 = #001D = 0000000000011101 #0006: GR2: 29 = #001D = 0000000000011101 #0006: GR3: 0 = #0000 = 0000000000000000 #0006: GR4: 0 = #0000 = 0000000000000000 #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 #0006: SP: 15 = #000F = 0000000000001111 #0006: PR: 6 = #0006 = 0000000000000110 #0006: FR (OF SF ZF): 000 #0006: Memory:::: #0006: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0006: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 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 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0003 ---------------------------------------------------------------------- == 1.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/CALL/call__inner.casl (0) Assemble ../../../../as/cmd/CALL/call__inner.casl (1) ../../../../as/cmd/CALL/call__inner.casl: 1:;;; CALL 同じプログラムの中にあるラベルを指定 ../../../../as/cmd/CALL/call__inner.casl: 2:MAIN START BEGIN ../../../../as/cmd/CALL/call__inner.casl: 3:BEGIN LAD GR1,29 #0000 #1210 #0001 #001D ../../../../as/cmd/CALL/call__inner.casl: 4: CALL COPY #0002 #8000 #0003 #0005 ../../../../as/cmd/CALL/call__inner.casl: 5: RET #0004 #8100 ../../../../as/cmd/CALL/call__inner.casl: 6:COPY LD GR2,GR1 #0005 #1421 ../../../../as/cmd/CALL/call__inner.casl: 7: RET #0006 #8100 ../../../../as/cmd/CALL/call__inner.casl: 8: 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 0005 8100 1421 8100 0000 0000 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 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 29 = #001D = 0000000000011101 #0005: GR2: 0 = #0000 = 0000000000000000 #0005: GR3: 0 = #0000 = 0000000000000000 #0005: GR4: 0 = #0000 = 0000000000000000 #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 #0005: SP: 15 = #000F = 0000000000001111 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0005: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0003 #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 #0006: GR1: 29 = #001D = 0000000000011101 #0006: GR2: 29 = #001D = 0000000000011101 #0006: GR3: 0 = #0000 = 0000000000000000 #0006: GR4: 0 = #0000 = 0000000000000000 #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 #0006: SP: 15 = #000F = 0000000000001111 #0006: PR: 6 = #0006 = 0000000000000110 #0006: FR (OF SF ZF): 000 #0006: Memory:::: #0006: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F ------------------------------------------------------------------------------------- #0006: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 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 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0003 ----------------------------------------------------------------------