Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hexadecimal) Make sur MemoryView1 starts at 1000 (if not type 1000 in the box) A

ID: 3752728 • Letter: H

Question

Hexadecimal) Make sur MemoryView1 starts at 1000 (if not type 1000 in the box) ARMSim: The ARM Simulator Dept. of Computer Science File View Cache Debug Watch Help Homework1.s General Purpose Floating Point 00001000:B3A00007 00001004:E0801000 00001008:E3A02C01 0000100C:E1A02202 00001010:E5821000 00001014:EAFFFFFE Hexadecimal Unsigned Decimal Signed Decimal end: :00000000 :00000000 RO Rl R2 R3 R4 :00000000 : 00000000 R5 :00000000 :00000000 :00000000 :00000000 : 00000000 R10 (s1) :00000000 R11 (fp) :00000000 R12 (ip) :00000000 R13 (sp):00011400 4 (lr) :00000000 R15 (pe) :00001000 MemoryView1 R6 R7 R8 R9 00001000 00001000 R3A00007 E080100 00001018 81818181 8181818 00001030 81818181 8181818 00001048 81818181 81818181 00001060 81818181 81818181 00001078 81818181 8181818 00001090 81818181 8181818

Explanation / Answer

Answer 1) r15 contains address of the next instructions to be executed, because r15 is a program
Program Counter(PC). In processors, the PC is incremented after fetching an instruction and holds the memory address of the next instruction that would be executed.
Program Counter is holding memory address : 00001000 as per the results shown in screenshot of ARM simulator.

Answer 2) Content of the memory at the address : 00001000 is a Homework1.s file.
  .S files is a source code file written in assembly.

Answer 3). Homework1.s file is a source code file. Source code is the source of a computer program. It contains declarations, instructions, functions, loops and other statements, which act as instructions for the program on how to function. Hence, It's an instruction.