Compare with memory, Electrical Engineering

Assignment Help:

Compare with memory

The contents  of the memory  of the memory  location  pointed by HL  register pair are compared with the  contents of the accumulator. The  instruction format is

CMP M        (A- [ HL])

The contents  of the both  the operand memory  location  and the  accumulator do not change. The flags  are modified  similar  to subtraction.

Flags : All flags  are modified  but he conclusion can be  made only by CY and  Z flag   as shown  below.

If A> M : CUY and Z flag are reset

IF a = M : Z flag  is set and CY flag is reset.

IF A < M : CY  is set and Z flag is reset.


Related Discussions:- Compare with memory

Discuss mode - 2 of programmable peripheral interface, Discuss mode -2 (bi-...

Discuss mode -2 (bi-directional mode) of 8255 (Programmable Peripheral Interface). Only permitted with port A. Bi-directional bus data used for interfacing two computers and GP

SUPERPOSITION THEOREM, CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

CONCLUSION IN BRIEF OF SUPERPOSITION IN ASSIGNMENT

Describe operation performed by instruction OUT47 h, Describe the operation...

Describe the operation performed by the instruction OUT 47 h, AL. This transfers the content of AL to I/O port 47h. See that I/O port number shows as 0047h on the 16 bit addres

Find out the low-frequency voltage gain, Design a differential amplifier wi...

Design a differential amplifier with active current mirror load in Cadence using TSMC 0.35 micron process. The power supply voltage is 3.3V. A 10µA current reference is available

Name the special functions registers available in 8051, Name the special fu...

Name the special functions registers available in 8051. Accumulator B Register Program Status Word. Stack Pointer. Data Pointer. Port 0 Port 1 Port 2 Po

Find the voltage gain, Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k...

Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k μ. Find the voltage gain Av. The voltage gain,  A v = Vo / V i = µR s / (µ+1) R s + rd = 50*4* (103 )/ (50+1)*4*103

Calomel electode, Explain the construction and working of Calomel electrode...

Explain the construction and working of Calomel electrode

Installation of meters and verification of connections, Installation of Met...

Installation of Meters and Verification of Connections Apart from testing and calibrating the meters they must be properly installed as per the links diagram. The points in wh

Binary address does the dot-decimal ip address , i. Each computer related t...

i. Each computer related to the public internet has a unique Internet Protocol address caleed as the IP address. The IP address is a 32-bit address. What is the maximum number of c

Calculate the analog output voltag, For the 3-bit 2 n -R D/A converter of ...

For the 3-bit 2 n -R D/A converter of Figure, calculate the analog output voltage when the input is (a) 100, and (b) 010. Solution a. For the binary input 100, switches con

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