diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-09-06 14:41:00 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-09-06 14:41:00 +0200 |
commit | a04272a548e7ddf94979d826e5f2834adafba2d5 (patch) | |
tree | d1941e332ac226b04100b9e40e47925dc359c820 /qtmips_gui | |
parent | 20641167a5b5d830d91c91e54983ab0aca84f86c (diff) | |
download | qtmips-a04272a548e7ddf94979d826e5f2834adafba2d5.tar.gz qtmips-a04272a548e7ddf94979d826e5f2834adafba2d5.tar.bz2 qtmips-a04272a548e7ddf94979d826e5f2834adafba2d5.zip |
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 <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/samples/simple-lw-sw-ia.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 |