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
UNO [17]
4 years ago
15

In the MOV instruction both operands i.e. source andthe destination cannot be

Computers and Technology
2 answers:
nekit [7.7K]4 years ago
3 0

Answer:

an immediate.

Explanation:

It is because of the instruction encoding and decoding.Intel which make these instructions decided not include instructions which provide no real advantage. MOV segment register is one of them because segment register need not to be changed very often.This saves the space in instruction encoding.

Assoli18 [71]4 years ago
3 0

Answer: In the MOV instruction both operands i.e., source and the destination cannot be immediate operands.

Explanation:

The destination operand must be in data alterable mode and it cannot be an an immediate operand, or a segment register. Basically, the mov operation are used to copy the values stored in one registers to another registers. It can be used to load a small integer in the register.

You might be interested in
public class Test { public static void main(String[] args) { try { method(); System.out.println("After the method call"); } catc
USPshnik [31]

Answer:

"ArithmeticException" is the correct answer for the above question.

Explanation:

Missing Information : The above question does not hold that "what is the output of the program".

  • The above question has a class that holds the two functions one function is the main function which calls the other function in a try-catch block.
  • The method function holds one run time exception which is 1/0 which is an arithmetic exception.
  • It can be handle by the help of an arithmetic class object which is defined in the first catch block.
  • Hence the print function of this catch is executed and prints "ArithmeticException".
8 0
3 years ago
4. Write an interactive program CountOddDigits that accepts an integer as its inputs and prints the number of even-valued digits
levacccp [35]

Answer:

Program :

number=int(input("Enter the number: "))#take the input from the user.

number1=number

count=0#take a variable for count.

while(number>0):#loop which check every number to be odd or not.

   value=number%10 #it is used to take the every number from integer value.

   number=int(number/10)#it is used to cut the number which is in the use.

   if(value%2!=0):#It is used to check the number to be odd.

       count=count+1#It is used to increase the value.

print("The number of Odd Digits in "+str(number1)+" is "+str(count))#It is used to print the count value of odd digit.

Output:

  • If the user inputs is '1234567890', it will prints "5".
  • If the user inputs is "8546587", it will prints "3".

Explanation:

  • The above program is in python language, which takes the integer value from the user.
  • Then The number will be distributed into many individual units with the help of a while loop.
  • The while loop runs when the number is greater than 0.
  • There is a two operation, one is used to take the number by the help of modulo operator because it gives the remainder.
  • The second operation is used to divide the number to let the number 0.
4 0
3 years ago
3 uses for auto formatting
zalisa [80]
Auto formatting is a computer software feature that automatically change the appearance of texts. Uses of auto formatting include the following:
it can be used to quickly apply or change automatic formatting.
It can be used to give a professional look to a document with minimal efforts.
the internet and network hyperlink option can be used to format email addresses and URL as clickable hyper link fields. 
The border line option can be used to apply paragraphs border styles to one's documents.
The table option can be used to create a table. 

3 0
3 years ago
Why does Linux make use of tasklets (i.e., software interrupts) instead of executing all interrupt-related activity in the (hard
Eddi Din [679]

Answer:

Although some devices can be controlled using nothing but their I/O regions, most real devices are a bit more complicated than that. Devices have to deal with the external world, which often includes things such as spinning disks, moving tape, wires to distant places, and so on. Much has to be done in a time frame that is different from, and far slower than, that of the processor. Since it is almost always undesirable to have the processor wait on external events, there must be a way for a device to let the processor know when something has happened.

That way, of course, is interrupts. An interrupt is simply a signal that the hardware can send when it wants the processor's attention. Linux handles interrupts in much the same way that it handles signals in user space. For the most part, a driver need only register a handler for its device's interrupts, and handle them properly when they arrive. Of course, underneath that simple picture there is some complexity; in particular, interrupt handlers are somewhat limited in the actions they can perform as a result of how they are run.

5 0
3 years ago
Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program n
WARRIOR [948]

Answer:

#include <iostream>

using namespace std;

int main ()

{

 float number = 0.0;

 float check = 45.6;

 cout << "Enter Numeber";

 cin >> number;

 if (number > check)

   {

     cout << " Greater than 45.6" << endl;

   }

 else

   {

     cout << " Lesser than 45.6" << endl;

   }

 return 0;

}

Explanation:

declare and initialize float type variable number. Float is used to cater for decimal but not using to much space which is used by double data type. Check value is stored in other variable called check.

Take input from user in number and write an if statement to check whether entered number is less than 45.6 or greater.If number is lesser than check display message "Greater than 45.6" other wise display message "Lesser than 45.6"

5 0
4 years ago
Other questions:
  • True or false: although the first personal computers were available as early as the 1970's, the creation of the world wide web (
    11·1 answer
  • Manny has created more than one hundred bookmarks. When he looks at the menu, he has to scroll through a very long list of bookm
    15·1 answer
  • The Internet began when a large company wanted to sell products online. True False
    15·2 answers
  • Data from RAM may be placed where to free up space?
    7·1 answer
  • What is the primary difference between the windows server 2012 r2 server manager and previous versions (before windows server 20
    11·1 answer
  • In information security, a specification of a model to be followed during the design, selection, and initial and ongoing impleme
    5·1 answer
  • You want to receive alerts if unusual activity is detected relating to the Web servers deployed in your perimeter network. What
    7·1 answer
  • How many of yall are willing too sub to my channel called "Space Juice" with around 200 subs?!​
    14·1 answer
  • Pls answer i need to turn it in today!!
    15·1 answer
  • When using the protection options in Excel 2016, what does the Protect Workbook function do?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!