Logic and arithmetic functions, Basic Computer Science

The instructions of the logic functions are: and not, or and xor. These act on the bits of their operators.
To make sure the result of the operations we revolve to the cmp and test instructions. The instructions used for the algebraic functions are: to subtract sub, to add, to multiply mul and to divide div. approximately all the comparison instructions are based on the information limited in the flag register. Usually the flags of this register which can be straightforwardly handled by the programmer are the data direction flag DF, used to define the operations about chains. One more one which can also be
handled is the IF flag by means of the sti and cli instructions, to activate and disable the interruptions.
Posted Date: 5/4/2012 4:23:50 AM | Location : United States







Related Discussions:- Logic and arithmetic functions, Assignment Help, Ask Question on Logic and arithmetic functions, Get Answer, Expert's Help, Logic and arithmetic functions Discussions

Write discussion on Logic and arithmetic functions
Your posts are moderated
Related Questions
Backup Storage: Back up (backing) storage, also termed external storage, is used to hold programs and data which are read into internal storage when required. The most common

Process Control Management:   A  process  is an executing program. It is considered the standard unit of work within a computer system. Every executing program is treated as a

The term ‘page traffic’ describes

Digital computer: In the digital computer there are basically two types of input, namely Instructions, and Data from the various radio and non-radio sensors, which will be refe

RANDOM ACCESS MEMORY (RAM): The RAM-type memory will allow data to be written into it, as well as read from it. With very few exceptions, RAMS lose their contents when the powe

Input unit: These are used to read data and transfer to primary memory contained in CPU through keyboard or floppy disk or mouse etc. Central Processing Unit (CPU): This consists o

wrap that computes a customer water bill. The bill include Rs.100 water demand charge + a consumption charge of Rs.1.5 for every thousand gallons used. Consumption is figured from

Question 1 What are the various steps involved in pre-production design? Question 2 What are the different kinds of perspectives used in a layout? Question 3 Descr


Give birth to new life forms A research of Artificial Life will definitely throw light on what it means for a complex application to be 'alive'. Moreover, ALife researchers th