(Use the answersheet for the short questions) Give the answers of Questioni in Hexadecimal notation except if specified
Posted: Mon May 09, 2022 7:30 am
(Use the answersheet for the short questions) Give the answers of Questioni in Hexadecimal notation except if specified otherwise. Scenario 1: A MCS 8051 micro controller has 32Kx8 external EEPROM memory, 8Kx8 on-board Flash memory, and a 16Kx8 external RAM memory connected to it. Question 1.1 From scenario 1: How many address lines are needed to activate external EEPROM memory? Question 1.2 From scenario 1: If EA is connected to +Vce, how many bytes (exactly) are available for program memory? Question 1.3 From scenario 1: If EA is connected to ground how many RAM bytes can be accessed externally by the micro controller? The EXACT number is required. Question 1.4 Analyse the following C-code and give the content of the variable Result: unsigned char Result; unsigned int Var=0x65F1; Result-Var >> 4; Result = Var&0X2c; Question 1.5 Analyse the following C-code and give the content of the variable Result in Hex notation: unsigned int Value - OxBC43; unsigned int Number=0x23 E4; unsigned int Result Result = Value & Number; Result Question 1.6 What instruction sequence could be used to place the logical OR of the bits at bit addresses OOH and 01H into bit address 02H?