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

What do you mean by byte, Q. What do you mean by Byte? Without question...

Q. What do you mean by Byte? Without question, the most vital data structure used by the 80x86 microprocessor is the byte this is true since the ASCII code is a 7-bit non-weigh

Control systems, why open loop system is stable and why degree of stability...

why open loop system is stable and why degree of stability varies in closed loop system

Explain the principle of a thermocouple, Explain the principle of a thermoc...

Explain the principle of a thermocouple. Give two examples of some common thermocouples. Thermocouples : They are used for the measurement of temperature. While two wires of v

Flex routing , Flex Routing : You can see that your labour will have bee...

Flex Routing : You can see that your labour will have been in vain unless you take steps to ensure that flexes are routed safely and well clear of possible sources of danger.

Voltage quality standards - kpi, Voltage Quality Standards - KPI The t...

Voltage Quality Standards - KPI The term voltage quality (or power quality) is an umbrella concept for a variety of disturbances within a power system. The quality of delivere

What is expanded memory system, What is expanded memory system? EMS: Th...

What is expanded memory system? EMS: The area at location C8000H-DFFFFFH is frequently open or free. Such area is used for the expanded memory system into a XT or PC system, or

Explain the operation as a buffer, Q. An interesting application of the SRF...

Q. An interesting application of the SRFF is as a buffer in overcoming contact bounce in mechanical switches. These switches, of the toggle type, may be used to change the logic st

Define series var compensation, Define Series VAr Compensation? For ver...

Define Series VAr Compensation? For very long transmission lines, the inductive reactance of the line becomes so high that not much power can be transmitted through the line, s

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