1) If an address bus for a given computer has 20 lines, what is the maximum amou
ID: 3595318 • Letter: 1
Question
1) If an address bus for a given computer has 20 lines, what is the maximum amount of memory it can access?
2) Name the 16-bit data (general) registers in the 8086/8088 microprocessor.
3) Define an Interrupt.
4) Obtain the 2’s complement of binary number: 1 1 1 1 0 0 0 1
5) Perform Hexadecimal addition: 23FF + A855
6) Perform Hexadecimal subtraction: A59F – 22E7
7) Can the physical address 35400 be the starting address for a segment? Why or why not?
8) (a) State the difference between the physical and logical addresses.
(b) Which of these two addresses is put on the address bus by the 8086/8088 central processing unit (CPU) to be decoded by the memory circuitry?
9) If BX=5020H and the instruction “MOV [3000], BX” were executed, what would be the contents of memory locations at offsets 3000 and 3001?
10)Can the physical address 346E0 be the starting address for a segment? Why or why not?
11)State the difference between the physical and logical addresses.
12)In an x86 and compatible computers, a physical address is a ______-bit address; an offset address is a _____ -bit address.
13)Which register is used as the offset register with segment register CS?
14) If BX=1234H and the instruction “MOV [2400],BX” were executed, what would be the contents of memory locations at offsets 2400 and 2401?
15) A given computer has a 32-bit data bus. What is the largest number that can be carried into the CPU at a time?
16) Why assembly language called a low-level language?
17) Write an assembly language instruction that transfer contents of register AL to memory location BX.
18) Why can’t data be moved into the Flag register?
19) Explain the action of the Assembly language instructions below: MOV DX, 0302H
OUT DX, AL IN AX, DX
20) To reference any memory location in a segment, the processor combines the segment address register with the offset value of the location. (TRUE / FALSE)?
21) How are negative numbers handled by the x86 and compatible microprocessor?
22) Explain how storage space allocated for initialized data by the following instructions TSU_ENGINEERING DB ‘Y’
NUMBER DW 45066 NEG_NUMBER DW -45066
23) All computers use the addition process to implement subtraction (TRUE/FALSE)?
24) Computers use Adders Circuitry in conjunction with 2’s complement circuitry to perform subtraction
25) Write an assembly language instructions to store 25H and 5H in microprocessor registers, and then:
(i) Multiply 25H by 5H, and (ii) Divide 25H by 5H
26) Given the logical address CS:IP (2550:9F55H), compute the physical address of this memory location.
27) If CS=24F6H and IP=634AH, show (a) the logical address, and (b) the offset address. Calculate (c) the physical address, (d) the lower range, and (e) the upper range of the code segment.
28) Consider the instructions below. What will happen in (i) and (ii)? (i) ADD AX, [4000]
(ii) ADD AX, 4000H .
29) Assume that the DS register is 578C. To access a given byte of data at physical memory location 67F66, does the data segment cover the range where the data resides? If not, what changes need to be made?
30) Why are the code and stack sections of the program located at opposite ends of the RAM memory set aside for the program?
Explanation / Answer
1. An address bus with n lines can access 2^n memory. Thus, 2^20=2mb memory that can be accesses by 20 lines.
2. 8066 microprocessor has 8 general registers of 16 bit : AX(accumulator register), BX(base address register), CX(count register), DX(data register), SI(source index register), DI*destination index register), BP(base point register), SP(stack pointer).
3. Interrupt is generally the signal that is generated and gets attention of the CPU when input/Output is required.
4. To obtain 2's complement, we flip each digit of the binary number and then add 1.
~(1 1 1 1 0 0 0 1) = 0 0 0 0 1 1 1 0)
On adding 1, we get 0 0 0 0 1 1 1 1
As per Chegg policy, 4 questions have been answered. Do comment if you have any doubts in the solutions I have provided, thumbs up if you liked this.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.