1.Assume the number 32 is on the data lines and the number 20 is on the address
ID: 3883962 • Letter: 1
Question
1.Assume the number 32 is on the data lines and the number 20 is on the address bus. At the same time the WRITE signal activated. Explain what CPU and memory will do.
2.Assume the number 5 is on the address bus and at the same time the READ signal is activated. Explain what CPU and memory will do.
3.What are the ASCII values for characters A, B, C, a, b and c? What is the relationship between ASCII values of uppercase values and lowercase values?
4.What is the function of a microprocessor?
5.What are the components inside a microprocessor?
6.Write an assembly language program to add three numbers stored at locations 20, 21, 22 and store the result in location 23. Write the machine code as well. Convert the machine code to HEX.
A computer has 32 bits of address lines. How many bytes can it access in Giga byte and Mega byte and Kilo bytes.
Explanation / Answer
3. What are the ASCII values for characters A, B, C, a, b and c? What is the relationship between ASCII values of uppercase values and lowercase values?
ASCII values
A - 065 B - 066 C - 067
a - 097 b - 098 c - 099
When 32 is added or even it can be subtracted with the ascii values of 'A' and 'a', which produces the result of other ltter in the end.
ASCII value of A - 65 => 65 + 32 = 97 => ASCII value of 'a'
ASCII value of a - 97 => 97 - 32 => 65 => ASCII value of 'A'
4. What is the function of a microprocessor?
It controls the entire functions of CPU and other devices, which has been controll by the Integrated Circuit. The instruction which has been send from the components of one device and the instruction has been received from the components of other are performed by the microprocessor.
5. What are the components inside a microprocessor?
The components are;
ALU (Arithmetic and Logic Unit) - It performs Arithmetic operations like addtion, subtraction, multiplication and division on set of data and also performs Logic operations like AND, OR on set of data.
Control Unit - It instructs the ALU to perform the specific operation. Various components of the computer has been managed by Control unit. And also it performs
Clock
Register - Some of the registers like General purpose register.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.