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
what are slides how do you put slides on powerpoint

what is the need of a port in a computer?

online project on hrm i.e index page

1. (40 points) Add a course drop method to the system that you implemented in Problem Set 1. Modularize your new implementation properly. For any new methods that you introduce: 1.

What is an encoder? Draw the logic circuit of Decimal to BCD encoder and explain its working.?

Question 1 Explain different functions of an operating system. Explain the evolution of operating systems Question 2 Explain process creation and process termination Ques

Perverse software: Perverse software is a program which causes hindrances in other programs execution in such a way resulting in modification or complete destruction of data w

Question 1 What is HTTP? How does it work? Question 2 What are the various methods of HttpServletResponse interface? Question 3 What is Web server? What are the va

QUESTION a) What is Time Division Multiplexing (TDM), illustrate your answer with a diagram b) Describe four types of RTCP messages c) i) What is silence compression in I

Dictionary values encompass no limitations. They can be any random Python object, moreover standard objects or user-defined objects. Though, same is not true for the keys. There ar