This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I have following code and can not read data from Data segment

AREA main, READONLY, CODE

EXPORT __main

ENTRY



__main PROC
MOV R0, #0x5
MOV R1, #0X5
CMP R1,R0
ADDNE R3, R1, R0
ldr r0, =Str
ldr r1, [r0]
add r0, #4
str r1, [r0]
endp
align
AREA myData, DATA , READWRITE
ALIGN
Str DCB 0x25