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
Chat: The word chat in English language means - casual conversation. On Internet it means the same, except that you need to use text and your keyboard skills are tested. Earli

flowchart that display yhe students average scores for 3 quizzes.Assume that there are 3 sections having 5 student each.Valid number is 1-100 for the quizzes.Enter an invalid numbe

Question 1 Define the following terms                                   1) Analog Signals and Digital Signals 2) Composite signals Question 2 Define the following terms

Analog Transmission: In analog transmission, there is a continuous up and down pattern. For example, one wave constitutes one cycle, which is measured in the unit called Hertz

Greedy Search-artificial intelligence: If we have a heuristic function for states, as defined above, then we may simply measure each state with respect to this measure an

Opening files 0FH function is used to open an FCB file the 21H interruption. The element, the name and extension of the file must be initialized previous to opening it. The DX regi

Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?

The various systems (computer, software and output devices) that are available have different limitations for output that is cartographic in nature. Some systems are CAD, GIS limit

IPv6 documented in 1994 (RFC 1752) is still a collection of Draft and Proposed standards Several pre-standard implementations exist IPv6 was intended to be a pragmatic up

Fundamentals of IT 1. How do you insert a symbol in a Word document? 2. Explain absolute cell addressing? 3. Discuss Custom List? 4. Explain applications of Multimedia