Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

In any program it is essential to move the data in the memory and in the CPU registers; there are a number of ways to do this: it can copy data in the memory to a number of register, from register to register, from a stack to a register, from a register to a stack, to transmit data to external devices in addition to vice versa.
This group of data is subject to rules and restrictions. The next are some of them:
*It is not potential to move data from a memory locality to another unswervingly; it is essential to first move the data of the origin locality to a register and then from the register to the destiny area.
*It is not possible to move a constant straight to a segment register; it first must be moved to a register in the CPU then to segment register.
It is feasible to move data blocks through the movs instructions, which copies a chain of bytes or words; movsb which copies n bytes from a region to another; and movsw copies n words from a locality to another. The last two instructions take the values from the distinct addresses by DS:SI as a set of data to move and ES:DI as the new localization of the
data.
To move data there are also structures identified batteries, where the data is introduced with the push instruction and are removed with the pop instruction.
In a stack the first data to be introduced is the last one we can take, this is, if in our program we utilize these instructions:
PUSH AX
PUSH BX
PUSH CX
To return the accurate values to each register at the moment of taking them from the stack it is essential to do it in the following sequence:
POP CX
POP BX
POP AX
For the contact with external devices the in command to read the information received from a port and the out command is used to send information to a port.
The out command’s syntax is:
OUT DX,AX
The in command’s syntax is:
IN AX,DX

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9502471

Have any Question?


Related Questions in Computer Engineering

Respond to the statement below in at least 100 words or

Respond to the statement below in at least 100 words or more. Original responses only. When the software developments requirements are written in vague language it unlocks the door for interpretation and can be a source ...

Birth weights of full-term babies in a certain area are

Birth weights of full-term babies in a certain area are normally distributed with mean 7.13 pounds and standard deviation 1.29 pounds. A newborn weighing 5.5 pounds or less is a low-weight baby. What is the probability t ...

Describe the definition of ransomware and what is wannacry

Describe the definition of ransomware. And what is wannacry threat?

A chemist weighed outnbsp779 g of calcium calculate the

A chemist weighed out 77.9 g of calcium. Calculate the number of moles of calcium she weighed out. Round your answer to 3 significant digits.

Salariestask compute the weekly pay for each employee at

Salaries Task: Compute the weekly pay for each employee at the Wahoo Widget Company. For each employee, you will calculate the base pay according to the appropriate salary category, and then subtract taxes and deductions ...

The following conversation has some mistakes can u help me

The following conversation has some mistakes, can u help me point them out? what are the mistakes? Mark: Hi, David, my company does not use much computer technology and I would like to change that. But I have a few quest ...

Customers for a restaurant arrive at an average rate of 36

Customers for a restaurant arrive at an average rate of 36 customers per hour during lunchtime. a. Write the Poisson probability distribution function with the specific parameters for this problem. b. Rewrite the probabi ...

Recall that the op-code and operand are represented in

Recall that the op-code and operand are represented in memory by HEX numbers (e.g., LDAA $3000 will show in memory as $B6, $30, and $00). Write a short program to use the commands LDAA and STAA to load and store a value ...

Question suppose we are given a chain of n nodes as shown

Question : Suppose we are given a "chain" of n nodes as shown below. Each node i is "neighbors" with the node to its left and the node to its right (if they exist). An independent set of these nodes is a subset of the no ...

Assignment week 2 documenting the project

Assignment: Week 2 Documenting the Project Lifecycle Well-written project documentation clarifies intent, documents decisions and results, and allows project managers to assess project progress (and report it, as necessa ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As