Merge branch 'master' of dragon:/home/dav/yacasl2
[YACASL2.git] / test / system / casl2 / cmd_SUBL_subl0_as1 / 0.txt
1 ;;; SUBL r,adr 演算結果が負数(r < adr)
2 MAIN    START
3         LD      GR1,A
4         SUBL    GR1,B
5         RET
6 A       DC      #FFEC           ; -20
7 B       DC      #FFF6           ; -10
8         END
9
10 Assemble ../../../../as/cmd/SUBL/subl0_as1.casl (0)
11
12 Assemble ../../../../as/cmd/SUBL/subl0_as1.casl (1)
13 ../../../../as/cmd/SUBL/subl0_as1.casl:    1:;;; SUBL r,adr 演算結果が負数(r < adr)
14 ../../../../as/cmd/SUBL/subl0_as1.casl:    2:MAIN    START
15 ../../../../as/cmd/SUBL/subl0_as1.casl:    3:        LD      GR1,A
16         #0000   #1010
17         #0001   #0005
18 ../../../../as/cmd/SUBL/subl0_as1.casl:    4:        SUBL    GR1,B
19         #0002   #2310
20         #0003   #0006
21 ../../../../as/cmd/SUBL/subl0_as1.casl:    5:        RET
22         #0004   #8100
23 ../../../../as/cmd/SUBL/subl0_as1.casl:    6:A       DC      #FFEC           ; -20
24         #0005   #FFEC
25 ../../../../as/cmd/SUBL/subl0_as1.casl:    7:B       DC      #FFF6           ; -10
26         #0006   #FFF6
27 ../../../../as/cmd/SUBL/subl0_as1.casl:    8:        END
28
29 Executing machine codes
30 #0000: Register::::
31 #0000: GR0:      0 = #0000 = 0000000000000000
32 #0000: GR1:      0 = #0000 = 0000000000000000
33 #0000: GR2:      0 = #0000 = 0000000000000000
34 #0000: GR3:      0 = #0000 = 0000000000000000
35 #0000: GR4:      0 = #0000 = 0000000000000000
36 #0000: GR5:      0 = #0000 = 0000000000000000
37 #0000: GR6:      0 = #0000 = 0000000000000000
38 #0000: GR7:      0 = #0000 = 0000000000000000
39 #0000: SP:       8 = #0008 = 0000000000001000
40 #0000: PR:       0 = #0000 = 0000000000000000
41 #0000: FR (OF SF ZF): 000
42 #0000: Memory::::
43 #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007
44 #0000: 0000: 1010 0005 2310 0006 8100 FFEC FFF6 0000 
45 #0002: Register::::
46 #0002: GR0:      0 = #0000 = 0000000000000000
47 #0002: GR1:    -20 = #FFEC = 1111111111101100
48 #0002: GR2:      0 = #0000 = 0000000000000000
49 #0002: GR3:      0 = #0000 = 0000000000000000
50 #0002: GR4:      0 = #0000 = 0000000000000000
51 #0002: GR5:      0 = #0000 = 0000000000000000
52 #0002: GR6:      0 = #0000 = 0000000000000000
53 #0002: GR7:      0 = #0000 = 0000000000000000
54 #0002: SP:       8 = #0008 = 0000000000001000
55 #0002: PR:       2 = #0002 = 0000000000000010
56 #0002: FR (OF SF ZF): 010
57 #0002: Memory::::
58 #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007
59 #0002: 0000: 1010 0005 2310 0006 8100 FFEC FFF6 0000 
60 #0004: Register::::
61 #0004: GR0:      0 = #0000 = 0000000000000000
62 #0004: GR1:    -10 = #FFF6 = 1111111111110110
63 #0004: GR2:      0 = #0000 = 0000000000000000
64 #0004: GR3:      0 = #0000 = 0000000000000000
65 #0004: GR4:      0 = #0000 = 0000000000000000
66 #0004: GR5:      0 = #0000 = 0000000000000000
67 #0004: GR6:      0 = #0000 = 0000000000000000
68 #0004: GR7:      0 = #0000 = 0000000000000000
69 #0004: SP:       8 = #0008 = 0000000000001000
70 #0004: PR:       4 = #0004 = 0000000000000100
71 #0004: FR (OF SF ZF): 010
72 #0004: Memory::::
73 #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007
74 #0004: 0000: 1010 0005 2310 0006 8100 FFEC FFF6 0000