== summary.log == ---------------------------------------------------------------------- ADDAコマンドのテスト。正数でオーバーフロー cmd_adda_r_adr__ao: Test Success 2023-10-02 23:01:38 Details in /Users/kazubito/Documents/yacasl2/test/system/casl2_cmd/cmd_adda_r_adr__ao/detail.log ---------------------------------------------------------------------- == cmd == ---------------------------------------------------------------------- ../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl ---------------------------------------------------------------------- == 0.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/ADDA/adda_r_adr__ao.casl (0) Assemble ../../../../as/cmd/ADDA/adda_r_adr__ao.casl (1) ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 1:;;; ADDA r,adr 正数でオーバーフロー ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 2:MAIN START ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 3: LD GR1,A #0000 #1010 #0001 #0005 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 4: ADDA GR1,B #0002 #2010 #0003 #0006 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 5: RET #0004 #8100 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 6:A DC #7FFE ; 32766 #0005 #7FFE ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 7:B DC #000A ; 10 #0006 #000A ../../../../as/cmd/ADDA/adda_r_adr__ao.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: 8 = #0008 = 0000000000001000 #0000: PR: 0 = #0000 = 0000000000000000 #0000: FR (OF SF ZF): 000 #0000: Memory:::: #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0000: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 32766 = #7FFE = 0111111111111110 #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: 8 = #0008 = 0000000000001000 #0002: PR: 2 = #0002 = 0000000000000010 #0002: FR (OF SF ZF): 000 #0002: Memory:::: #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0002: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: -32760 = #8008 = 1000000000001000 #0004: GR2: 0 = #0000 = 0000000000000000 #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: 8 = #0008 = 0000000000001000 #0004: PR: 4 = #0004 = 0000000000000100 #0004: FR (OF SF ZF): 110 #0004: Memory:::: #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0004: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 ---------------------------------------------------------------------- == 1.txt == ---------------------------------------------------------------------- Assemble ../../../../as/cmd/ADDA/adda_r_adr__ao.casl (0) Assemble ../../../../as/cmd/ADDA/adda_r_adr__ao.casl (1) ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 1:;;; ADDA r,adr 正数でオーバーフロー ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 2:MAIN START ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 3: LD GR1,A #0000 #1010 #0001 #0005 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 4: ADDA GR1,B #0002 #2010 #0003 #0006 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 5: RET #0004 #8100 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 6:A DC #7FFE ; 32766 #0005 #7FFE ../../../../as/cmd/ADDA/adda_r_adr__ao.casl: 7:B DC #000A ; 10 #0006 #000A ../../../../as/cmd/ADDA/adda_r_adr__ao.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: 8 = #0008 = 0000000000001000 #0000: PR: 0 = #0000 = 0000000000000000 #0000: FR (OF SF ZF): 000 #0000: Memory:::: #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0000: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 32766 = #7FFE = 0111111111111110 #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: 8 = #0008 = 0000000000001000 #0002: PR: 2 = #0002 = 0000000000000010 #0002: FR (OF SF ZF): 000 #0002: Memory:::: #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0002: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: -32760 = #8008 = 1000000000001000 #0004: GR2: 0 = #0000 = 0000000000000000 #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: 8 = #0008 = 0000000000001000 #0004: PR: 4 = #0004 = 0000000000000100 #0004: FR (OF SF ZF): 110 #0004: Memory:::: #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007 ------------------------------------------------------------------------------------- #0004: 0000: 1010 0005 2010 0006 8100 7FFE 000A 0000 ----------------------------------------------------------------------