0% found this document useful (0 votes)
35 views1 page

Area Mid1, Code, Readonly EXPORT Reset - Handler Reset - Handler Start LDR R1, Value LDR R2, Value LDR R3, Value LDR R4, 42 LDR R5, 0X42 Value DCD 0X11111111 Stop B Stop END

This code defines constants and loads values into registers for processing. It defines an area called MID1, exports the Reset_Handler label, loads values from constants into registers R1-R5, with R4 and R5 loading the same decimal and hexadecimal values of 42, before branching to the Stop label to end execution.

Uploaded by

raks
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Area Mid1, Code, Readonly EXPORT Reset - Handler Reset - Handler Start LDR R1, Value LDR R2, Value LDR R3, Value LDR R4, 42 LDR R5, 0X42 Value DCD 0X11111111 Stop B Stop END

This code defines constants and loads values into registers for processing. It defines an area called MID1, exports the Reset_Handler label, loads values from constants into registers R1-R5, with R4 and R5 loading the same decimal and hexadecimal values of 42, before branching to the Stop label to end execution.

Uploaded by

raks
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DCD.

AREA MID1, CODE,READONLY


EXPORT Reset_Handler

Reset_Handler
Start
LDR R1,= value
LDR R2,=value
LDR R3,value
LDR R4,=42
LDR R5,=0X42

value DCD 0X11111111


Stop B Stop
END

You might also like