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 are program-invisible registers, What are program-invisible registers?...

What are program-invisible registers? The local and global descriptor tables are determined into the memory system. So as to access and give the address of these tables, the pr

Show the classifications of data network, Q. Show the Classifications of Da...

Q. Show the Classifications of Data Network? Classifications of Data Network: Data Networks are categorized according to their geographical coverage: • Wide area networks

How single stepping can be done in 8086, How single stepping can be done in...

How single stepping can be done in 8086? By setting the Trace Flag (TF) the 8086 goes to single-step mode. In this mode, after the implementation of every instruction s 8086 ge

Inverting integrator circuit, Q. Consider the inverting integrator circuit ...

Q. Consider the inverting integrator circuit shown in Figure. Let C = 0.4µF and R = 0.1M. Sketch v o for a period of 0.5 s after the application of a constant input of 2 V at the

DC motor & encoder, If a high resolution emcoder is used for position contr...

If a high resolution emcoder is used for position control, will the number of pole count in the DC motor be matter? What is the requirement for the DC motor in order to work with h

Explain the methods of analysis for digital system, Q. Explain the Methods ...

Q. Explain the Methods of Analysis for digital system? Just as differential equations are used to represent systems with analog signals, difference equations are used for syste

Counter-controlled analog to digital converter, Q. Counter-controlled analo...

Q. Counter-controlled analog to digital converter? Figure shows the block diagram of a counter-controlledA/Dconverter. Resetting the binary counter to zero produces D/A output

Ral rotate accumulator left through carry instruction , RAL Rotate Accumula...

RAL Rotate Accumulator Left Through Carry Instruction This  instruction rotates the content  of the accumulator  towards left by one bit. The D 0 bit moves to D 1   bit moves

Cross section of nmos with channel formed: on state, Cross Section of NMOS ...

Cross Section of NMOS with Channel Formed: ON state A metal-oxide-semiconductor field-effect transistor (MOSFET) is based upon the modulation of charge concentration through a

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