X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=test%2Fintegration%2Fcasl2%2Fhanoi%2F0.txt;h=2a8713198767c7f5baa5c3cc8aec7e6cab511327;hp=c692a95e7f3af9aed033d1d26e9ba44b881e5d06;hb=e07b6371cc8a59c6793a895e968ff2c6cf28181b;hpb=0dab7eab4cf4b834ba7c4628a334a5f32304c167 diff --git a/test/integration/casl2/hanoi/0.txt b/test/integration/casl2/hanoi/0.txt index c692a95..2a87131 100644 --- a/test/integration/casl2/hanoi/0.txt +++ b/test/integration/casl2/hanoi/0.txt @@ -77,6 +77,134 @@ Assemble ../../../../as/FUNC/hanoi.casl (1) #0006 #1030 #0007 #004D ../../../../as/FUNC/hanoi.casl: 7: CALL HANOI -Assemble error - 103: HANOI: label not found - ../../../../as/FUNC/hanoi.casl:7: CALL HANOI - + #0008 #8000 + #0009 #000B +../../../../as/FUNC/hanoi.casl: 8: RET + #000A #8100 +../../../../as/FUNC/hanoi.casl: 9:HANOI CPA GR0,=1 + #0059 #0001 + #000B #4000 + #000C #0059 +../../../../as/FUNC/hanoi.casl: 10: JZE DISP + #000D #6300 + #000E #0032 +../../../../as/FUNC/hanoi.casl: 11: SUBA GR0,=1 + #005A #0001 + #000F #2100 + #0010 #005A +../../../../as/FUNC/hanoi.casl: 12: PUSH 0,GR2 + #0011 #7002 + #0012 #0000 +../../../../as/FUNC/hanoi.casl: 13: PUSH 0,GR3 + #0013 #7003 + #0014 #0000 +../../../../as/FUNC/hanoi.casl: 14: POP GR2 + #0015 #7120 +../../../../as/FUNC/hanoi.casl: 15: POP GR3 + #0016 #7130 +../../../../as/FUNC/hanoi.casl: 16: CALL HANOI + #0017 #8000 + #0018 #000B +../../../../as/FUNC/hanoi.casl: 17: PUSH 0,GR2 + #0019 #7002 + #001A #0000 +../../../../as/FUNC/hanoi.casl: 18: PUSH 0,GR3 + #001B #7003 + #001C #0000 +../../../../as/FUNC/hanoi.casl: 19: POP GR2 + #001D #7120 +../../../../as/FUNC/hanoi.casl: 20: POP GR3 + #001E #7130 +../../../../as/FUNC/hanoi.casl: 21: CALL DISP + #001F #8000 + #0020 #0032 +../../../../as/FUNC/hanoi.casl: 22: PUSH 0,GR1 + #0021 #7001 + #0022 #0000 +../../../../as/FUNC/hanoi.casl: 23: PUSH 0,GR2 + #0023 #7002 + #0024 #0000 +../../../../as/FUNC/hanoi.casl: 24: POP GR1 + #0025 #7110 +../../../../as/FUNC/hanoi.casl: 25: POP GR2 + #0026 #7120 +../../../../as/FUNC/hanoi.casl: 26: CALL HANOI + #0027 #8000 + #0028 #000B +../../../../as/FUNC/hanoi.casl: 27: PUSH 0,GR1 + #0029 #7001 + #002A #0000 +../../../../as/FUNC/hanoi.casl: 28: PUSH 0,GR2 + #002B #7002 + #002C #0000 +../../../../as/FUNC/hanoi.casl: 29: POP GR1 + #002D #7110 +../../../../as/FUNC/hanoi.casl: 30: POP GR2 + #002E #7120 +../../../../as/FUNC/hanoi.casl: 31: ADDA GR0,=1 + #005B #0001 + #002F #2000 + #0030 #005B +../../../../as/FUNC/hanoi.casl: 32: RET + #0031 #8100 +../../../../as/FUNC/hanoi.casl: 33:DISP ST GR1,MSG1 + #0032 #1110 + #0033 #0053 +../../../../as/FUNC/hanoi.casl: 34: ST GR3,MSG2 + #0034 #1130 + #0035 #0058 +../../../../as/FUNC/hanoi.casl: 35: OUT MSG,LNG + #0036 #7001 + #0037 #0000 + #0038 #7002 + #0039 #0000 + #003A #1210 + #003B #004E + #003C #1020 + #003D #004A + #003E #F000 + #003F #0002 + #0040 #1210 + #0041 #005C + #005C #000A + #0042 #1220 + #0043 #0001 + #0044 #F000 + #0045 #0002 + #0046 #7120 + #0047 #7110 +../../../../as/FUNC/hanoi.casl: 36: RET + #0048 #8100 +../../../../as/FUNC/hanoi.casl: 37:N DC 3 ; 輪の総数 + #0049 #0003 +../../../../as/FUNC/hanoi.casl: 38:LNG DC 11 ; メッセージの長さ + #004A #000B +../../../../as/FUNC/hanoi.casl: 39:A DC 'A' + #004B #0041 +../../../../as/FUNC/hanoi.casl: 40:B DC 'B' + #004C #0042 +../../../../as/FUNC/hanoi.casl: 41:C DC 'C' + #004D #0043 +../../../../as/FUNC/hanoi.casl: 42:MSG DC 'from ' + #004E #0066 + #004F #0072 + #0050 #006F + #0051 #006D + #0052 #0020 +../../../../as/FUNC/hanoi.casl: 43:MSG1 DS 1 + #0053 #0000 +../../../../as/FUNC/hanoi.casl: 44: DC ' to ' + #0054 #0020 + #0055 #0074 + #0056 #006F + #0057 #0020 +../../../../as/FUNC/hanoi.casl: 45:MSG2 DS 1 + #0058 #0000 +../../../../as/FUNC/hanoi.casl: 46: END +from A to C +from A to B +from C to B +from A to C +from B to A +from B to C +from A to C