l as/sample/hello.o
d a 0 #22
-T a
+t a
c
l as/sample/sum_10.o
d a 0 #18
-T a
+t a
c
--- /dev/null
+l as/sample/sum_10.o
+d
--- /dev/null
+l as/sample/sum_10.o
+d 0
--- /dev/null
+l as/sample/sum_10.o
+d 0 #20
--- /dev/null
+l as/sample/sum_10.o
+d 0 #20 #40
--- /dev/null
+l as/sample/sum_10.o
+d 0 +#20
l as/sample/hello.o
-d a 0 #18
+d a 0 #22
r 0 #22
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) b ?
+breakpoint manipulate:
+ b[reak] a[dd] <address>
+ b[reak] d[el] <address>
+ b[reak] l[ist]
+ b[reak] r[eset]
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/break_help.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) b ? 1
+breakpoint manipulate:
+ b[reak] a[dd] <address>
+ b[reak] d[el] <address>
+ b[reak] l[ist]
+ b[reak] r[eset]
+(comet2 monitor) 1: ignored.
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/break_help_2.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) d
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/dump_0.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) d 0
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/dump_1.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) d 0 #20
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/dump_2.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) d 0 #20 #40
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+(comet2 monitor) #40: ignored.
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/dump_3.monitor
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) d 0 +#20
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/dump_plus.monitor
COMET II machine code monitor. Type ? for help.
(comet2 monitor) l as/sample/sum_10.o
(comet2 monitor) d
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007
+#0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+#0000: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
(comet2 monitor)
\ No newline at end of file
--- /dev/null
+COMET II machine code monitor. Type ? for help.
+(comet2 monitor) l as/sample/hello.o
+(comet2 monitor) d a 0 #22
+#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
+ -------------------------------------------------------------------------------------
+#0000: 0000: 7001 0000 7002 0000 1210 0013 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002
+#0000: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021
+#0000: 0020: 000D 000A
+(comet2 monitor) r 0 #22
+ PUSH #0000,GR1 ; #0000: #7001 #0000
+ PUSH #0000,GR2 ; #0002: #7002 #0000
+ LAD GR1,#0013 ; #0004: #1210 #0013
+ LAD GR2,#0020 ; #0006: #1220 #0020
+ SVC #0002 ; #0008: #F000 #0002
+ LAD GR1,#0021 ; #000A: #1210 #0021
+ LAD GR2,#0022 ; #000C: #1220 #0022
+ SVC #0002 ; #000E: #F000 #0002
+ POP GR2 ; #0010: #7120
+ POP GR1 ; #0011: #7110
+ RET ; #0012: #8100
+ DC 72 ; #0013: #0048 :: 72 = #0048 = 0000000001001000 = 'H'
+ DC 101 ; #0014: #0065 :: 101 = #0065 = 0000000001100101 = 'e'
+ DC 108 ; #0015: #006C :: 108 = #006C = 0000000001101100 = 'l'
+ DC 108 ; #0016: #006C :: 108 = #006C = 0000000001101100 = 'l'
+ DC 111 ; #0017: #006F :: 111 = #006F = 0000000001101111 = 'o'
+ DC 44 ; #0018: #002C :: 44 = #002C = 0000000000101100 = ','
+ DC 32 ; #0019: #0020 :: 32 = #0020 = 0000000000100000 = ' '
+ DC 87 ; #001A: #0057 :: 87 = #0057 = 0000000001010111 = 'W'
+ DC 111 ; #001B: #006F :: 111 = #006F = 0000000001101111 = 'o'
+ DC 114 ; #001C: #0072 :: 114 = #0072 = 0000000001110010 = 'r'
+ DC 108 ; #001D: #006C :: 108 = #006C = 0000000001101100 = 'l'
+ DC 100 ; #001E: #0064 :: 100 = #0064 = 0000000001100100 = 'd'
+ DC 33 ; #001F: #0021 :: 33 = #0021 = 0000000000100001 = '!'
+ DC 13 ; #0020: #000D :: 13 = #000D = 0000000000001101
+ DC 10 ; #0021: #000A :: 10 = #000A = 0000000000001010 = '\n'
+ DC 1 ; #0022: #0001 :: 1 = #0001 = 0000000000000001
+(comet2 monitor)
\ No newline at end of file
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+cd ../../../.. && ./comet2monitor <monitor/revert_hello.monitor