MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MODEL OF MICROPROCESSOR

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The upper 128 bytes of an internal data memory from 80H through FFH usually represent ____
A
general-purpose registers
B
special function registers
C
stack pointers
D
program counters
Explanation: 

Detailed explanation-1: -The stack area in 8051always can be implemented in the internal data memory. Here the stack pointer (SP) is an only 8-bit register, because the internal RAM area is only in range 00H to 7FH, and when all register banks are being used, the stack location will be in range 30H to 7FH.

Detailed explanation-2: -Internal Data Memory: in the classic 8051, this is the on-chip RAM space with a maximum of 256 Bytes containing register banks, BIT space, direct addressable DATA space, and indirect addressable IDATA space.

Detailed explanation-3: -Data memory is made up of the Special Function Registers (SFR) area, and the General Pur-pose Registers (GPR) area. The SFRs control the operation of the device, while GPRs are the general area for data storage and scratch pad operations. The data memory is banked for both the GPR and SFR areas.

Detailed explanation-4: -In an 8051 microcontroller, Internal RAM (data memory)-128 bytes.

There is 1 question to complete.