From 20641167a5b5d830d91c91e54983ab0aca84f86c Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 26 Aug 2019 00:45:29 +0200 Subject: Use #pragma in examples to lower initial learning curve. Signed-off-by: Pavel Pisa --- qtmips_gui/samples/template-os.S | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qtmips_gui/samples/template-os.S') 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 -- cgit v1.2.3