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
RoseWind [281]
3 years ago
9

Use the following data definitions data myBytes BYTE 10h,20h,30h,40h myWords WORD 3 DUP(?),2000h myString BYTE "ABCDE" What will

be the value of EAX after each of the following instructions execute? mov eax,TYPE myBytes ; a. mov eax,LENGTHOF myBytes ; b. mov eax,SIZEOF myBytes ; c. mov eax,TYPE myWords ; d. mov eax,LENGTHOF myWords ; e. mov eax,SIZEOF myWords ; f. mov eax,SIZEOF myString ; g.
Computers and Technology
1 answer:
Elena-2011 [213]3 years ago
8 0

Answer:

<em>Given Data:</em>

<em>myBytes BYTE 10h, 20h, 30h, 40h </em>

<em>myWords WORD 3 DUP(?), 2000h </em>

<em>myString BYTE "ABCDE"</em>

<em />

Based on the data that we are given we can conclude that:

(a).     a. EAX = 1

         b. EAX = 4

         c. EAX = 4

         d. EAX = 2

         e. EAX = 4

         f. EAX = 8

         g. EAX = 5

You might be interested in
How should technology be used?
Alisiya [41]

Make Sure You Use The Right Technology.

Use Incorporate Automation Tools.

Manage Passwords Effectively.

Only Use Technology Where You Need Help The Most.

Use Chrome Extensions.

Organize Your Time With A Calendar App.

Take Advantage Of Free Applications.

Hope it helps!

6 0
3 years ago
Read 2 more answers
Code written by computer programmers is translated to binary code, so computers can understand the instructions. True or False
san4es73 [151]

Answer:

True

Explanation:

High-level languages such as Java, C++, Ruby, Python, etc need to be translated into binary code so a computer can understand it, compile and execute them.

Machine language is the only language that is directly understood by the computer because it is written in binary code. But writing codes in Machine Language is tiring, tedious, and obsolete as no one really uses it anymore.

7 0
3 years ago
A condition-controlled loop uses a while loop.<br><br> true<br><br> false
matrenka [14]

Answer:

true

Explanation:

a while loop is a condition-controlled loop. While loops continue no matter what under a certain condition, unless you insert the keyword <em>break.</em>

One example in python is this:

while x > y:

      <em>pass</em>

The keyword to break a while loop may vary depending on the coding language you are using.

<u>Tip</u> The pass keyword allows a no error contact between loop and the terminal. Pass in a nutshell is almost as if saying nothing at all, but just leaving the condition blank. We only use pass because it prevents errors instead of no value.

8 0
2 years ago
The two key elements of any computer system are the____and the _____.
Virty [35]
Easy.
Hardware and software!
Did you ever try to use a computer with only mouse and monitor?
8 0
3 years ago
Write a program to do the following: Load $t0 with 12 and call it x. Load 21 in $t1 and denote it as y. Finally, load 32 in $t2
ELEN [110]

Answer:

addi $t0, $zero, 12

addi $t1, $zero, 21    

addi $t2, $zero, 32    

addi $t3, $zero, 3

mul $t3, $t3, $t0

mul $t3, $t3, $t0  

addi $v, $zero, 10

mul $v, $v, $t1  

addi $w, $zero, 5

mul $w, $w, $t2  

add $a0, $t3, $v

add $a0, $a0, $w

addi $v0, $zero, 1

syscall

Explanation:

  • Use the addi statement to initialize the t0, t1 and t2 variables with a 0 value.
  • Use the mul statement to multiply the t0 with t3 and then multiply variable v with t1.
  • Use the add statement to add the variable v with t3 and assign the result to a0 variable.
  • Use the add statement to add the variable w with a0 and assign the result to a0 variable.

3 0
3 years ago
Other questions:
  • What inventor patented the first America movie projector
    13·2 answers
  • A newspaper publishes a negative editorial on how local politicians are dragging their feet in building a new bridge. Select the
    5·2 answers
  • Which of the following best describes how computing devices represent information? A. A computer will either represent informati
    9·2 answers
  • The advanced boot options screen can be displayed by pressing what key during the boot sequence?
    6·1 answer
  • What is a what if analysis in Excel example?
    11·1 answer
  • Simone frequently downloads mobile apps from Amazon Appstore. What operating system does she have on her smartphone?
    6·1 answer
  • Write a loop that displays all possible combinations of two letters where the letters are 'a', or 'b', or 'c', or 'd', or 'e'. T
    10·1 answer
  • This type of connector is the most common for connecting peripherals (printers, monitors, storage devices, etc.) to a windows co
    10·1 answer
  • In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in
    9·1 answer
  • Ye lust, and have not: ye kill, and desire to have, and cannot obtain: ye fight and war, yet ye have not, because ye ask not.​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!