MOV Instruction interrupt data transfer between memory cells registers and accumulator interruptions is a hardware facility causes CPU to suspend execution, save its status, transfer to a specific location address of a program

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

MOV Instruction

Used to Data transfer between memory cells, registers and the accumulator. Syntax is as follows:

MOV Destination, Source

The different movements of data allowed for this Instruction are shown in the table given next:

S. No.

       Destination

                Source

1.

memory

accumulator

2.

accumulator

memory

3.

segment register

memory/register

4

memory/register

segment register

5.

Register

register

6.

Register

memory

7.

memory

register

8.

Register

immediate data

9.

memory

immediate data

Let us see an example:

MOV AX,0006
MOV BX,AX
MOV AX,4C00
INT 21

This program moves the value of 0006H to the AX register, then it moves the content of AX (0006h) to the BX register, and lastly it moves the 4C00h value to the AX register to end the execution with the 4C option of the 21h interruption. We’ll take a brief introduction of interrupt 13H and interrupt 21H later.

Interruptions

An interrupt is a hardware facility that causes the CPU to suspend execution, save its status, and transfer to a specific location. The transfer location specifies the address of a program that is intended to take action in response to the interrupt. The program that is executed as a result of the interrupt is called an interrupt- handling program.

For example, if DOS wants to send some information to the BIOS or BIOS wants to send some information to the computer system, DOS or BIOS generate interrupts. Whenever an interrupt is generated, computer suspends whatever it is doing and first takes care of the operation which has generated the interrupt.

Each device capable of generating interrupt is given a unique interrupt number to identify which device is generating these interrupts. We shall discuss all the functions and sub functions of interrupt 13H, Extensions of interrupt 13H and interrupt 21H within this book.

Basically, the interruptions may be of following three types:

  1. Internal hardware interruptions
  2. External hardware interruptions
  3. Software interruptions
Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

 
 

page 21 | 22 | 23 | 24 | 25 | 26

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor