Skip to content

Commit a04272a

Browse files
committed
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 <[email protected]>
1 parent 2064116 commit a04272a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qtmips_gui/samples/simple-lw-sw-ia.S

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ loop:
2323
nop
2424

2525
.data
26+
.org 0x2000
2627

2728
src_val:
2829
.word 0x12345678

0 commit comments

Comments
 (0)