Or-logical instruction-microprocessor, Assembly Language

OR: Logical OR: The OR instruction carries out the OR operation in the similar way as described in case of the AND operation. The restriction on source and destination operands are also the similar as in case of AND operation. The instance are as follows:

Example :


1.     OR  AX,         0098H

2.     OR  R AX,      BX

3.     OR  R AX,      [5000H]

4.     OR  [5000H], 0008H

The contents of AX are considering 3FOFH, then the first example instruction will be carried out as given below.

1605_OR1.jpg

So the result 3F9FH will be stored in the AX register.

 

Posted Date: 10/12/2012 2:27:37 AM | Location : United States







Related Discussions:- Or-logical instruction-microprocessor, Assignment Help, Ask Question on Or-logical instruction-microprocessor, Get Answer, Expert's Help, Or-logical instruction-microprocessor Discussions

Write discussion on Or-logical instruction-microprocessor
Your posts are moderated
Related Questions
i want to develop traffic light system so which kind of software is needed to develop this project?

Explain the basic method for implementing paging

to separate positive and negative numbers

Write an assembly program that will compute and output tuition cost: a. accept keyboard input of the number of credit hours taken b. accept keyboard input of the type of classes 1

8086 Minimum mode System and Timing In a minimum mode 8086 system, the microprocessor 8086 is operated in minimum mode by strapping its MN/MX pin to logic 1.All the control si

Addressing mode of 8086 : Addressing mode specify a way of locating operands or data. Depending on the data types used the memory  addressing  modes and in the instruction  ,

Write the structure of For…Next loop in VB.Net and also write a program to print integers from 1 to 10 on the console.

Perform an extensive web search of popular microcontroller manufacturers (some of the major players) to select a suitable device for the system to control the lighting of a typical

8255 Programmable Peripheral Interface Intel's 8255 A programmable peripheral interface provides a nice instance of a parallel  interface. As shown the interface have a control

DMA controller :     Steps include in transferring a block of data from I/O devices (for example a disk) to memory: 1. CPU sends a signal to initiate disk transfe