jaidenlaine2758 jaidenlaine2758
  • 14-09-2019
  • Computers and Technology
contestada

Given the following data definition
Array: .word 3, 5, 7, 23, 12, 56, 21, 9, 55

The address of the last element in the array can be determined by:

Array

Array + 36

36 + Array

Array + 32

40 + Array

Respuesta :

ExieFansler ExieFansler
  • 19-09-2019

Answer:

Array + 36.

Explanation:

The array contains the address of the first element or the starting address.So to find the address of an element we to add the size*position to the starting address of the array.Which is stored in the variable or word in this case.

There are 9 elements in the array and the size of integer is 4 bytes.So to access the last element we have to write

array + 4*9

array+36

Answer Link

Otras preguntas

what are some fun facts about ancient persia
What is the value of q in the equation Square root of 4q-2= square root of 3q+8 ? A. -10/7 B. 10/7 C. 6 D. 10
A recent poll of 700 people who work indoors found that 278 smoke. if the researchers want to be 98% confident of their results to within 3.5 percentage points,
Why is preventing pollution at its source the first strategy in minimizing environmental risk?
A common way of initiating certain chemical reactions with light involves the generation of free halogen atoms in solution. if δh for the reaction cl2(g) → 2cl(
PLEASE HELP ME I WILL GIVE BRAINLIEST
11 3/4 and 3/4 have the same decimal equivalent on the right side of the decimal point. So, what is the decimal equivalent for both fractions on the right side
how many oxygen atoms in 4 Al 2 O 3
Match the lines from the metaphysical poems with the literary devices they contain.
Why should the U.S police the world?