Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help with these questions. 1- Assume the number 32 is on the data lines a

ID: 3884787 • Letter: P

Question

Please help with these questions.

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.

7. 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)

ASCII Code

A = 65

B = 66

C = 67

a = 97

b = 98

c = 99

ASCII value represented in binary form ...

01000001 -> A        01100001 a

01000010 -> B        01100010 -> b

01000011 -> C        01100011 -> c

.

.

.

01011001 -> Y        01111001 -> y

01011010 -> Z        01111010 -> z

Uppercase and Lower case differ in the third left most bit in 8 bit representation. This bit is 1 in lower case and 0 in uppercase.