1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kazeer [188]
4 years ago
12

Which of the following are valid data definition statements that create an array of unsigned bytes containing decimal 10, 20, an

d 30, named myArray.
(A) myArray BYTE 10, 20, 30
(B) BYTE myArray 10, 20, 30
(C) BYTE myArray[3]: 10, 20,30
(D) myArray BYTE DUP (3) 10,20,30
Computers and Technology
1 answer:
sukhopar [10]4 years ago
4 0

Answer:

(A) myArray BYTE 10, 20, 30

Explanation:

The general syntax of array declaration in assembly is given by

Array_Name TYPE value1, value2,...

where type can be BYTE, WORD, DWORD, QWORD, REAL4 etc

where values can be in decimal, binary, or hexadecimal

Example:

Let us define an array of type unsigned byte and named myArray containing decimal values of 10, 20, and 30.

myArray BYTE 10, 20, 30

Hence only option A is the valid data definition.

You might be interested in
A computer user who purchases a software package that will not operate on his or her hardware configuration is a victim of which
Natalija [7]
Is this a math problem? I don't get what you are trying to say sorry
5 0
3 years ago
Which of the following is NOT a way to build on your strengths?
N76 [4]

Answer: the answer is B

Explanation: You can't raise your strengths if you only do sports you are good at:)

8 0
3 years ago
Read 2 more answers
Programs that are embedded in a Web page are called Java ____.
chubhunter [2.5K]

Answer:

applets

Explanation:

Java applets are dynamic programs that can be embedded on a webpage and run on a web browser like internet explorer,firefox or google chrome. The code for applets is developed using java programming language and facilitates interesting and complex display entities to be included as part of the web page. HTML provides a special tag called <Applet> for providing details of the applet.

8 0
3 years ago
In a stream channel what is deposited first?
asambeis [7]
Gravel sized particles
6 0
4 years ago
Write a recursive, int-valued method named productOfOdds that accepts an integer array, and the number of elements in the array
lara [203]

Answer:

Program source code found in explaination

Explanation:

Recursive int function of the asked question.;

int productOfOdds(int array[],int length) {

int product=1;

if(length==0)

return -1;

else if(length==1) {

if(array[length-1]%2!=0)

return array[length-1];

else

return 1;

}

else {

product=productOfOdds(array,--length);

if(array[length]%2!=0) {

product=product*array[length];

}

}

return product;

}

4 0
3 years ago
Other questions:
  • Write the following function without using the C++ string class or any functions in the standard library, including strlen(). Yo
    12·1 answer
  • Write a program that will askthe user to enter the amount of a purchase. The program should thencompute the state and county sal
    5·1 answer
  • Which expense is a bank least likely to extend a line of credit for?
    13·2 answers
  • You wish to lift a 12,000 lb stone by a vertical distance of 15 ft. Unfortunately, you can only generate a maximum pushing force
    6·1 answer
  • Which file extension indicates that a file is an Adobe Acrobat document?
    13·1 answer
  • What is the term for the conversion of a bitmap image to a vector image?
    8·1 answer
  • Security controls are measures taken to protect systems from attacks on the integrity, confidentiality, and availability of the
    6·1 answer
  • The operating system is not responsible for allowing one computer to share information with other computers.
    15·2 answers
  • Type the correct answer in the box. Use numerals instead of words. If necessary, use / for the fraction bar. What will be the ou
    14·1 answer
  • Write a function endpoints that takes a list of numbers (eg. [5, 10, 15, 20, 25]) and returns a new list of only the first and l
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!