The 8051 microcontroller contains a Boolean processor for single-bit operations using direct addressing. The carry bit is used as a single-bit accumulator. Boolean instructions referencing the carry bit are assembled as carry-specific instructions. The carry bit also has a mnemonic representation "CY" that can be used with non-carry-specific instructions. An example program uses Boolean instructions to compute the logical AND of two port bits and output the result to another port bit in a loop, with a worst-case delay of 11 CPU cycles.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
525 views
Boolean Instructions
The 8051 microcontroller contains a Boolean processor for single-bit operations using direct addressing. The carry bit is used as a single-bit accumulator. Boolean instructions referencing the carry bit are assembled as carry-specific instructions. The carry bit also has a mnemonic representation "CY" that can be used with non-carry-specific instructions. An example program uses Boolean instructions to compute the logical AND of two port bits and output the result to another port bit in a loop, with a worst-case delay of 11 CPU cycles.
Anna Univ May - June Model Questions High Performance Computer Networks Question Paper June 2011-2013 - Anna University Results 2013 - Anna Univ Updates PDF