index image
  • Global Business Resources
    Find out worldwide manufacturers and traders.
    Discover best resources in global-business-resource.com.
    business services.


    Logic Microoperations

    Logic microoperations specify binary operations for strings of bits stored in registers. These operations consider each bit of the register separately and treat them as binary variables. For example, the exclusive-OR microoperation with the contents of two registers R1 and R2 is symbolized by the statement

    P: R1 ‹ R1 ?R2

    It specifies a logic microoperation to be executed on the individual bits of the registers provided that the control variable P = 1. As a numerical example, assume that each register has four bits. Let the content of R1 be 1010 and the content of R2 be 1100. The exclusive-OR microoperation stated above symbolizes the following logic computation:

    1010 Content of R1

    1100 Content of R2

    0110 Content of R1 after P = 1

    The content of R1, after the execution of the microoperation, is equal to the bit-by-bit exclusive-OR operation on pairs of bits in R2 and previous values of R1. The logic microoperations are seldom used in scientific computations, but they are very useful for bit manipulation of binary data and for making logical decisions.

    Special symbols will be adopted for the logic microoperations OR, AND, and complement, to distinguish them from the corresponding symbols used.


    terms and conditions | index1 | index2 | index3 |
    cadenti | web directory |