Upload files to "ES/Lab/Lab1/Init2"

This commit is contained in:
aadit 2025-07-24 13:18:25 +05:30
parent 3d1c20142d
commit 9ad6f084ca

View file

@ -0,0 +1,25 @@
AREA RESET,DATA,READONLY
EXPORT __Vectors
__Vectors
DCD 0x10001000
DCD Reset_Handler
ALIGN
AREA mycode,CODE,READONLY
ENTRY
EXPORT Reset_Handler
Reset_Handler
LDR R0, =SRC ; gives memory address of SRC array
LDR R1, [R0] ; writes from first location of SRC array
MOV R5, -8;
STOP
B STOP
ALIGN;
SRC DCD 0x12345678, 0xABCDEF55, 0x55
END ;