Back to the 2020 paper

Module 2: The 8051 Architecture

20208m

Explain how bit addressing is distinguished from byte addressing in the 8051 microcontroller.

Worked SolutionAI Assisted

Bit vs Byte Addressing in 8051

  • Byte addressing: Access entire 8-bit byte via direct or indirect address (00-7FH RAM, 80-FFH SFRs, etc.) e.g., MOV A,30H loads 8 bits; address granularity is byte.
  • Bit addressing: Access single bit individually via bit address. 8051 has 211 bit addresses: 128 in RAM 20H-2FH (bits 00H-7FH where bit address = byte_address_offset×8 + bit) and 87 in SFRs ending 0/8H (e.g., PSW.7=CY, P1.0). Instructions: SETB bit, CLR bit, MOV C,bit, JB bit,rel. Bit address distinguishes via 8-bit bit address encoding vs byte direct. Example SETB 00H sets RAM 20H.0, SETB P1.0 vs MOV P1,#01H byte.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.