Professional Documents
Culture Documents
References:
Barry B. Brey, The Intel Microprocessors: 8086/8088, 80186/80188,
80286, 80386, 80486, Pentium, Pentium Pro Processor, Pentium II,
Pentium III, Pentium 4, and Core2 with 64-bit Extensions :
Architecture, Programming, and Interfacing. Pearson Education
India, Eigth Edition, 2019.
Nicholas Carter, Schaum’s outline of Computer Architecture, Tata
McGraw Hill, Second Edition, 2014.
Microprocessors and Interfacing - 8086, 8051, 8096, and Advanced
Processors (English, Paperback, Kumar N Senthil), OUP India,2012
The x86 Microprocessors: 8086 to Pentium, Multicores, Atom and
the 8051 Microcontroller: Architecture, Programming and
Interfacing, 2e Paperback – 1 January 2014
ODD SEM 2020 COA TUTORAL SHEET
Seventh Tutorial
1. If a physical branch target address is 5A230 when CS = 5200, what will it be if the
CS = 7800 ?
2. Given that the EA of a data is 2359 and DS = 490B, what is the PA of data.
3. Given following values in various registers/memory of a 8086 system:
IP = 2BC0, CS= 0200 DS = 212A BX = 1200
[224A0] = 0600 [275B9] = 098A Displacement = 5119
Find the branch address for a branch instruction that uses:
(a) Intrasegment (or Near) direct addressing using
JMP [2]
(b) Near Indirect addressing using register mode
JMP BX
Near Indirect addressing using
JMP WORD PTR [BX]
JMP disp[BX]
(c) Intersegment Direct addressing using
JMP 10000H
In each case find out the number of trips to memory required for calculating the target
address.
4. Short answer questions
(a) Name the microprocessor which accepts the program written for 8086 without any
changes?
(b) How many instructions can be executed per minute in 8086?
(c) Explain the utility of M/IO in 8086.
(d) What is the purpose of Bus Interface Unit (BIU)?
(e) What is the purpose of Execution unit (EU)?
(f) What is the size of instruction queue in 8086 microprocessor?
(g) How the clock signal is generated in 8086 microprocessor.
5. Find the flag settings for SF, ZF, CF, OF, and PF after adding 62A0 to each of the
following values:
(a) 1234 (b) 4321 (c) CFA0 (d) 9D60
6. Write an instruction using based indexed addressing (using BX and SI) to add the
contents of a memory location to AL and put the result in AL. Write the Machine
Code.
7. Assuming, W, X, Y and Z as memory addresses. Write a program sequence that will
carry out the following: Z ← W + (Z-X)
8. Translate the following assembly instructions into machine code using the instruction
format information and the opcodes (find them from books or internet):
(a) ADC AL, [245A]
(b) INC CX
(c) CMP CL, 24[BP+SI]
(d) PUSH CS
(e) POP DX
9. Write a short program that pushes the contents of AX,BX and CX onto the stack &
then
(a) First POP retrieve the value that was pushed on to the stack from CX and place it
into the AX
(b) The second POP places the original value of BX into CX
(c) The last POP places the original value of AX into BX