diff --git a/ES/Lab/Lab1/Init2/DATATRANSFER.asm b/ES/Lab/Lab1/Init2/DATATRANSFER.asm new file mode 100644 index 0000000..29874c6 --- /dev/null +++ b/ES/Lab/Lab1/Init2/DATATRANSFER.asm @@ -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 ; + \ No newline at end of file