explain data movement ?, Basic Computer Science

Assignment Help:
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

Related Discussions:- explain data movement ?

Explain acl with its types, Question 1 Discuss the two basic operational c...

Question 1 Discuss the two basic operational characteristics of RR Only an active route is redistributed Route redistribution does not impact local route selection

Database design, Build a database application for a sports league. Assume y...

Build a database application for a sports league. Assume your application is to keep track of teams and equipment that is checked out to teams. Explain the steps that is needed and

Probability, Mike sells on the average 15 newspapers per week (Monday – Fri...

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he will sel

Explain how cpu responses to an interrupts, Problem 1. Explain the diff...

Problem 1. Explain the different categories of instructions. Explanation of 4 categories 2. Explain the steps to be followed for the addition of floating point numb

Data Type Conversion, Sometimes you may drop to perform conversions among t...

Sometimes you may drop to perform conversions among the built-in types. To translate between types you just use the type name as a function. There are quite a few built-in function

Describe FCFS Scheduling algorithm ?, FCFS algorithm also known as: • Firs...

FCFS algorithm also known as: • First-In-First-Out (FIFO) • Run-Until-Done • Run-to-Completion • Possibly, First-Come-First-Served algorithm is the easiest scheduling algorithm i

Operation system, how to create 1000 random processes with time scales betw...

how to create 1000 random processes with time scales between 10 to 400 milliseconds

What is raid?explain its levels, Question 1 What is fabric login and what ...

Question 1 What is fabric login and what are its functions Question 2 Explain how is IP SAN different from SAN Question 3 Discuss the product related to Fibre Channel Questio

Constant bit rate atm theory, For the connections that request a static amo...

For the connections that request a static amount of bandwidth that is continuously available during the connection lifetime. Is intended to support real time applications requiring

C, What is a Structure?

What is a Structure?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd