What is the difference between an assembly instruction and anassembly directive?

Explain what each line of the following code does and what datais created and stored (both in registers and in memory). Make sureto include all relevant memory locations if appropriate. Assumethat the first line of code below starts at memory address 0x0.(Shown in image attached)

(Please solve problem 1 in pict attached)

Cheggx (--> α secure https://blackboard.learn.fresnostate.edu/bbcswebdav/pid-2108562-dt-content-rid-18700732-1/courses/ECE118-01-34504-2183/hw2-1 18.pdf processing system to create your PDE, or print this PDF out, write on the paper, and then scan or take a picture to create a PDF to turn into Blackboard. Total Score /44 pts] . 1412 pts I4 ptsl What is the difference between an assembly instruction and an assembly directive? 12 pts Explain what cach linc of the following code docs and what data is crcated and stored (both in registers and in memory). Make sure to include all relevant memory locations if appropriate. Assume that the first line of code below starts at memory address Ox0. TMP1 DCD 0x2A TMP2 EQU 0x38 LDR LDR LDR R3, [RO] STR RI, =TMP2 R3, [R1], #8 2. 4 + 8 pts 4 ptsl What does ALIGN 4, 2 mean? [8 pts] Draw the data memory layout and the data (all values in hex) if the data memory starts at 0xE0 and the following directives are executed. AREA SDRAM, DATA ALIGN 4 DCD 0x22 ALIGN 4,3 TMP2 TMP3 DCB 0b111 3. I4 ptsl Get the Keil Simulator up and running (dircctions posted on Blackboard). If you dont have a computer, you can install it on a lab computer (note every night the lab computers are reset, so v nced to install it cach time Run through the entire tutorial orn O Type here to search 2:20 AM 2/22/2018

Cheggx (–> α secure https://blackboard.learn.fresnostate.edu/bbcswebdav/pid-2108562-dt-content-rid-18700732-1/courses/ECE118-01-34504-2183/hw2-1 18.pdf processing system to create your PDE, or print this PDF out, write on the paper, and then scan or take a picture to create a PDF to turn into Blackboard. Total Score /44 pts] . 1412 pts I4 ptsl What is the difference between an assembly instruction and an assembly directive? 12 pts Explain what cach linc of the following code docs and what data is crcated and stored (both in registers and in memory). Make sure to include all relevant memory locations if appropriate. Assume that the first line of code below starts at memory address Ox0. TMP1 DCD 0x2A TMP2 EQU 0x38 LDR LDR LDR R3, [RO] STR RI, =TMP2 R3, [R1], #8 2. 4 + 8 pts 4 ptsl What does “ALIGN 4, 2” mean? [8 pts] Draw the data memory layout and the data (all values in hex) if the data memory starts at 0xE0 and the following directives are executed. AREA SDRAM, DATA ALIGN 4 DCD 0x22 ALIGN 4,3 TMP2 TMP3 DCB 0b111 3. I4 ptsl Get the Keil Simulator up and running (dircctions posted on Blackboard). If you dont have a computer, you can install it on a lab computer (note every night the lab computers are reset, so v nced to install it cach time Run through the entire tutorial orn O Type here to search 2:20 AM 2/22/2018 Show transcribed image text