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.


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

Pointer and Index Registers The pointers contain offset within the specific segments. The pointers BP, IP and SP generally containoffsets within thedata, code and stack segment

I want to do a program as a game by using the Microcontroller 8051 with the assembly language, by using 4*4 keypad and its matrix display. I have to use the keypad for playing the

Problem (a) Prepare the assembly code sequence for each of the four styles (accumulator, memory-memory, stack, load/store) of machine for the code fragment: A = B + C;

Assembly Language: Inside the 8085, instructions are really stored like binary numbers, not a very good manner to look at them and very difficult to decipher. An assembler is

Signal descriptions of 8086 : described below are common for the maximum andminimum mode bothdata lines AD15 -AD0: These are the time multiplexed andmemory I/O address. Addre

1. Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register? array1 DWORD 10, 20, 30, 40, 50, 6

assembly language program to find larges number in an array

This unit introduces the topic of evaluating interactive products. It is a short unit as evaluation is discussed in more detail in Block 4. Its brevity should give you additional t

Write a program that allows a user to encrypt/decrypt a message using a shift cipher. The user should specify the key and the message. Your program should be able to handle messa