about flag instructions, Basic Computer Science

They straightforwardly affect the content of the flags.
CLC
CLD
CLI
CMC
STC
STD
STI
CLC INSTRUCTION
Reason: To uncontaminated the cartage flag.
Syntax:
CLC
This instruction turning the bit corresponding to the cartage flag, or in extra words it puts it on zero.
CLD INSTRUCTION
Reason: To uncontaminated the address flag.
Syntax:
CLD
This instruction exits the corresponding bit to the address flag.
CLI INSTRUCTION
Reason: To uncontaminated the interruption flag.
Syntax:
CLI
This instruction exits the interruptions flag, disabling this way those maskarable interruptions.
A maskarable interruptions is that one whose functions are disabled when IF=0.
CMC INSTRUCTION
Reason: To balance the cartage flag.
Syntax:
CMC
This instruction goes together the state of the CF flag, if CF = 0 the instructions equals it to 1, and if the instruction is 1 it equals it to 0.
We might say that it only "inverts" the value of the flag.
STC INSTRUCTION
Reason: To make active the cartage flag.
Syntax:
STC
This instruction locates the CF flag in 1.
STD INSTRUCTION
Reason: To make active the address flag.
Syntax:
STD
The STD instruction puts the DF flag in 1.
STI INSTRUCTION
Reason: To set in motion the interruption flag.
Syntax:
STI
The instruction sets off the IF flag, and this enables the maskarable external interruptions ( the ones which only function when IF = 1).
Posted Date: 5/4/2012 7:28:16 AM | Location : United States







Related Discussions:- about flag instructions, Assignment Help, Ask Question on about flag instructions, Get Answer, Expert's Help, about flag instructions Discussions

Write discussion on about flag instructions
Your posts are moderated
Related Questions
Optical Mark Recognition (OMR): OMR is the scanning of paper to detect the presence or absence of a mark in a predetermined position. Now days, it is used as an input device f

QUESTION (a) (i) Why is the Random class in the .NET framework not suitable for generating random bytes for cryptography purposes? (ii) Mention two characteristics required

Problem A) The TCP/IP reference model is the network model used in the current Internet architecture. This model is derived from the OSI model and they are relatively same in n

create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou

THE MICROPROCESSOR The three fundamental units, which comprise a CPU, have now been discussed in general terms.  So too has a microprocessor, because a microprocessor can be de


Internal Structure of Agents We have looked at agents in conditions of their outside influences and behaviors: they take effort from the atmosphere and do lucid actions to chan

Foundation of Computer System Q.No-1: What do you understand by the Efficiency in term of Computers? and How will you measure it? Also define Speed and its factors which ca


4. Union City Al has decided to upgrade their tornado warning system. The city leaders have identified six potential locations for erecting a warning siren tower. They want to e