From a04272a548e7ddf94979d826e5f2834adafba2d5 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Fri, 6 Sep 2019 14:41:00 +0200 Subject: samples: simple-lw-sw-ia.S: place data section to 0x2000 address. Ensure that initial explicitly written address in lw, sw instructions is aligned with location used later when data symbols are used. Use address in the first 32 kB to leave out la pseudoinstruction complexity for initial experiments. Signed-off-by: Pavel Pisa --- qtmips_gui/samples/simple-lw-sw-ia.S | 1 + 1 file changed, 1 insertion(+) diff --git a/qtmips_gui/samples/simple-lw-sw-ia.S b/qtmips_gui/samples/simple-lw-sw-ia.S index d181896..3297e3c 100644 --- a/qtmips_gui/samples/simple-lw-sw-ia.S +++ b/qtmips_gui/samples/simple-lw-sw-ia.S @@ -23,6 +23,7 @@ loop: nop .data +.org 0x2000 src_val: .word 0x12345678 -- cgit v1.2.3