diff options
Diffstat (limited to 'qtmips_gui/samples')
-rw-r--r-- | qtmips_gui/samples/cop0-test-ia.S | 10 | ||||
-rw-r--r-- | qtmips_gui/samples/simple-lw-sw-ia.S | 7 | ||||
-rw-r--r-- | qtmips_gui/samples/template-os.S | 9 | ||||
-rw-r--r-- | qtmips_gui/samples/template.S | 8 |
4 files changed, 33 insertions, 1 deletions
diff --git a/qtmips_gui/samples/cop0-test-ia.S b/qtmips_gui/samples/cop0-test-ia.S index 3bfe586..9badb92 100644 --- a/qtmips_gui/samples/cop0-test-ia.S +++ b/qtmips_gui/samples/cop0-test-ia.S @@ -1,3 +1,9 @@ +// Directives to make interresting windows visible +#pragma qtmips show terminal +#pragma qtmips show registers +#pragma qtmips show cop0dock +#pragma qtmips show memory + .set SERIAL_PORT_BASE, 0xffffc000 .set SERP_RX_ST_REG_o, 0x00 @@ -12,7 +18,6 @@ .set SERP_TX_DATA_REG_o, 0x0c - .globl _start .set noat .set noreorder @@ -72,3 +77,6 @@ rx_irq: eret .end _start + +// if whole source compile is OK the switch to core tab +#pragma qtmips tab core diff --git a/qtmips_gui/samples/simple-lw-sw-ia.S b/qtmips_gui/samples/simple-lw-sw-ia.S index d2c3f2c..d181896 100644 --- a/qtmips_gui/samples/simple-lw-sw-ia.S +++ b/qtmips_gui/samples/simple-lw-sw-ia.S @@ -1,3 +1,7 @@ +// Directives to make interresting windows visible +#pragma qtmips show registers +#pragma qtmips show memory + .globl _start .set noat .set noreorder @@ -24,3 +28,6 @@ src_val: .word 0x12345678 dst_val: .word 0 + +// Specify location to show in memory window +#pragma qtmips focus memory src_val diff --git a/qtmips_gui/samples/template-os.S b/qtmips_gui/samples/template-os.S index 6c2264f..c7a57cf 100644 --- a/qtmips_gui/samples/template-os.S +++ b/qtmips_gui/samples/template-os.S @@ -10,6 +10,12 @@ // work: http://www.pikron.com/ // license: public domain +// Directives to make interresting windows visible +#pragma qtmips show terminal +#pragma qtmips show registers +#pragma qtmips show cop0dock +#pragma qtmips show memory + .globl _start .globl __start .set noreorder @@ -112,3 +118,6 @@ data_1: .word 1, 2, 3, 4 text_1: .ascii "Hello word.\n" // store ASCII text, no termination text_1_e: + +// if whole source compile is OK the switch to core tab +#pragma qtmips tab core diff --git a/qtmips_gui/samples/template.S b/qtmips_gui/samples/template.S index 58de4a3..a532e13 100644 --- a/qtmips_gui/samples/template.S +++ b/qtmips_gui/samples/template.S @@ -10,6 +10,11 @@ // work: http://www.pikron.com/ // license: public domain +// Directives to make interresting windows visible +#pragma qtmips show terminal +#pragma qtmips show registers +#pragma qtmips show memory + .globl _start .globl __start .set noreorder @@ -107,3 +112,6 @@ end_char: break // stop continuous execution data_1: .word 1, 2, 3, 4 // example how to fill data words text_1: .asciz "Hello word.\n" // store zero terminated ASCII text + +// if whole source compile is OK the switch to core tab +#pragma qtmips tab core |