1 What instructionin the 8051 is used to set a single bit hi

1. What instruction(in the 8051) is used to set a single bit high?

2. What instruction(in the 8051) is used to set a single bit low?

3. Can a byte of data be written to the bit addressable memory using a single MOV instruction? (Yes / No)

4. Can a byte of data be accessed from the bit addressable memory using a single MOV instruction? (Yes / No)

Solution

1. SETB (set bit ) is the instruction used to set a single bit high

2. CLR clears (sets to 0) all the bit(s) of the indicated register. If the register is a bit (including the carry bit), only the specified bit is affected. Clearing the Accumulator sets the Accumulator\'s value to 0.

3.a byte of data be written to the bit addressable memory using a single MOV instruction using direct addressing mode it can also be accessed using pointer register

4.a byte of data be accessed from the bit addressable memory using a single MOV instruction using direct addressing mode it can also be accessed using pointer register

1. What instruction(in the 8051) is used to set a single bit high? 2. What instruction(in the 8051) is used to set a single bit low? 3. Can a byte of data be wr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site