And-logical instruction-microprocessor, Assembly Language

Assignment Help:

AND: Logical AND: This instruction bit by bit ANDs the source operand that might be an immediate, or a memory location or register to the destination operand that might be a memory location or register. The result is in the destination operand. At least 1 operand should be a register or a memory operand. Both of the operands can't be memory locations or immediate operands. An immediate operand can't be a destination operand. The instance of this instruction is as follows:

Example :

673_AND1.jpg

If the content of register AX is 3FOFH, the first instance instruction will carry out the operation as given below. The result 3F9FH will be in the AX register.

2420_AND2.jpg

The result 0008H will be in  register AX.

 


Related Discussions:- And-logical instruction-microprocessor

Program for dispaying lcd characters, #include"lcd.asm"       ; assembly fi...

#include"lcd.asm"       ; assembly file is included for displaying lcd characters Main: PORTA EQU 0xF80  ; PORTS PORTB EQU 0xF81 PORTC EQU 0xF82 PORTD EQU 0xF83 R

Addsub, Using the AddSub program from Ch3 under c:\Masm615\examples as a re...

Using the AddSub program from Ch3 under c:\Masm615\examples as a reference, write a program that subtracts three 16-bit integers using only registers. Insert a call DumpRegs statem

Hashing, what is double hashing

what is double hashing

Cryptography, Write a program that allows a user to encrypt/decrypt a mess...

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

General terms for cache-microprocessor, General terms for Cache : Cac...

General terms for Cache : Cache Hits : When the cache consisted the information requested, the transaction is said to be a cache hit. Cache Miss : When the cache does n

Assignment, 1. Write an assembly program that adds the elements in the odd ...

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

8086 program, program to arrange a given set of numbers in descending order...

program to arrange a given set of numbers in descending order

Calculator, how to add 111 and 333 in assembly language

how to add 111 and 333 in assembly language

Assembly language, how to find out the given number is positive or negative...

how to find out the given number is positive or negative?

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