edited by
7,719 views
6 votes
6 votes

Find the memory address of the next instruction executed by the microprocessor $(8086),$ when operated in real mode for $\textsf{CS=1000}$ and $\textsf{IP=E000}$

  1. $\textsf{10E00}$
  2. $\textsf{1E000}$
  3. $\textsf{F000}$
  4. $\textsf{1000E}$
edited by

2 Answers

10 votes
10 votes
In 8086 the address bus is 20 bit, The address is generated by using segment base and offset.

i.e. Address = segment*0x10 + Offset (Here segment is multiplied by 10h)

Given : Segment base (CS) = 0x1000 and Offset (IP) = 0xE000

Therefore, Address = CS*0x10 + IP

= 0x1000*0x10 + 0xE000

=0x1E000

Hence answer is 0x1E000 i.e. option B

For reference: https://books.google.co.in/books?id=t9ka7wmt_PQC&pg=RA1-PA20&lpg=RA1-PA20&dq=find+address+of+next+instruction+in+8086&source=bl&ots=NU6tKxh094&sig=vn0J3cafQu8UsBeZtUZYg94FQUE&hl=en&sa=X&ved=0ahUKEwjPjOTo1dHNAhUIRo8KHV-zAxEQ6AEIQTAG#v=onepage&q=find%20address%20of%20next%20instruction%20in%208086&f=false
1 votes
1 votes

Given:

cs=1000 and Ip=E000

as per the architecture diagram of 8086 ie.,cs+Ip

Ip=E000(ie.,binary code for E=1110) so

=1000+E000

=1000+1110 000

=1111000(ie.,the BCD value of F=1111)

Ans=F000 so option (c) is correct

Related questions

0 votes
0 votes
1 answer
1
manikgupta123 asked Apr 29, 2019
969 views
Which part in 8086 microprocessor is responsible for fetching instructions into the queue?BIUEUStackRegisters
3 votes
3 votes
4 answers
2
go_editor asked Aug 9, 2016
8,643 views
What will be the output at $\text{PORT1 }$if the following program is executed?MVI B, 82H MOV A, B MOV C, A MVI D, 37H OUT PORT1 HLT$37H$$82H$$B9H$$00H$
2 votes
2 votes
3 answers
3
makhdoom ghaya asked Apr 27, 2016
4,410 views
In $8086$, the jump condition for the instruction $JNBE$ is?CF = 0 or ZF = 0ZF = 0 and SF = 1CF = 0 and ZF = 0CF = 0
3 votes
3 votes
2 answers
4
go_editor asked Jun 24, 2016
3,695 views
Logic family popular for low power dissipationCMOSECLTTLDTL