answersLogoWhite

0

📱

Intel 8086 and 8088

The Intel 8086/8088 family of microprocessors is a 16 bit architecture on a 16 bit (8086) or an 8 bit (8088) bus. The 8088 was the processor in the original IBM PC, and has evolved into the most popular processor used today in PC's and servers.

1,056 Questions

Pin diagram of 8088 microprocessor?

Pin Description The following describes the function of each pin: A8 - A15 (Output 3 State) Address Bus; The most significant 8 bits of the memory address or the 8 bits of the I/0 address,3 stated during Hold and Halt modes. AD0 - 7 (Input/Output 3state) Multiplexed Address/Data Bus; Lower 8 bits of the memory address (or I/0 address) appear on the bus during the first clock cycle of a machine state. It then becomes the data bus during the second and third clock cycles. 3 stated during Hold and Halt modes. ALE (Output) Address Latch Enable: It occurs during the first clock cycle of a machine state and enables the address to get latched into the on chip latch of peripherals. The falling edge of ALE is set to guarantee setup and hold times for the address information. ALE can also be used to strobe the status information. ALE is never 3stated. S0, S1 (Output)

IO/M- (Output) IO/M- indicates whether the Read/Write is to memory or l/O (Tristated during Hold and Halt modes) S0, S1, and IO/M- represent Data Bus Status. Encoded status of the bus cycle: S0 S1 IO/M- 0 0 * Halt State (IO/M- Tristated)

0 1 0 Memory Read

0 1 1 I/O Read

1 0 0 Memory Write

1 0 1 I/O Write

1 1 0 Opcode Fetch

1 1 1 Interrupt Acknowledge S1 can be used as an advanced R/W status. If used this way, it should not be sampled until the trailiing edge of ALE. RD- (Output 3state) READ; indicates the selected memory or I/O device is to be read and that the Data Bus is available for the data transfer. Tristated during Hold and Halt modes. The processor samples the data bus about one half clock cycle before the trailing edge of RD-. WR- (Output 3state)WRITE; indicates the data on the Data Bus is to be written into the selected memory or I/O location. Data is set up at the trailing edge of WR. Tristated during Hold and Halt modes. The data bus is held valid for about one half clock cycle beyond the trailing edge of WR-, or until the leading edge of ALE. It is important to realize that any external bus drivers must not be dropped at the trailing edge of WR- because that creates a race condition - Use ALE to drop the drivers if needed. READY (Input) If Ready is high during a read or write cycle, it indicates that the memory or peripheral is ready to send or receive data. If Ready is low, the CPU will wait for Ready to go high before completing the read or write cycle. It is sampled about one half clock cycle after ALE goes false, on the rising edge of CLK. Note that Ready is sampled about one half clock cycle after the trailing edge of ALE, and this is not a lot of time - make sure your address/ready decoders are fast enough to respond. HOLD (Input) HOLD; indicates that another Master is requesting the use of the Address and Data Buses. The CPU, upon receiving the Hold request. will relinquish the use of buses as soon as the completion of the current machine cycle. Internal processing can continue. The processor can regain the buses only after the Hold is removed. When the Hold is acknowledged, the Address, Data, RD-, WR-, and IO/M- lines are 3stated. HLDA (Output) HOLD ACKNOWLEDGE; indicates that the CPU has received the Hold request and that it will relinquish the buses in the next clock cycle. HLDA goes low after the Hold request is removed. The CPU takes the buses one half clock cycle after HLDA goes low. INTR (Input) INTERRUPT REQUEST; is used as a general purpose interrupt. It is sampled only during the next to the last clock cycle of the instruction. If it is active, the Program Counter (PC) will be inhibited from incrementing and an INTA will be issued. During this cycle a RESTART or CALL instruction can be inserted to jump to the interrupt service routine. The INTR is enabled and disabled by software. It is disabled by Reset and immediately after an interrupt is accepted. INTA (Output) INTERRUPT ACKNOWLEDGE; is used instead of (and has the same timing as) RD during the Instruction cycle after an INTR is accepted. It can be used to activate the 8259 Interrupt chip or some other interrupt port. RESTART INTERRUPTS; These three inputs have the same timing as INTR except they cause an internal RESTART to be automatically inserted. RST 7.5 Highest Priority (Edge triggered)

RST 6.5 Medium Priority (Level triggered)

RST 5.5 Lowest Priority (Level triggered) The priority of these interrupts is ordered as shown above. These interrupts have a higher priority than the INTR. They can be masked with the SIM instruction. TRAP (Input) (Edge and Level triggered) Trap interrupt is a nonmaskable restart interrupt. It is recognized at the same time as INTR. It is unaffected by any mask or Interrupt Enable. It has the highest priority of any interrupt. RESET IN- (Input) Reset sets the Program Counter to zero and resets the Interrupt Enable and HLDA flipflops. None of the other flags or registers (except the instruction register) are affected The CPU is held in the reset condition as long as Reset is applied. RESET OUT (Output) Indicates CPlJ is being reset. Can be used as a system RESET. The signal is synchronized to the processor clock. X1, X2 (Input) Crystal or R/C network connections to set the internal clock generator X1 can also be an external clock input instead of a crystal. The input frequency is divided by 2 to give the internal operating frequency. CLK (Output) Clock Output for use as a system clock when a crystal or R/ C network is used as an input to the CPU. The period of CLK is twice the X1, X2 input period. SID (Input) Serial input data line The data on this line is loaded into accumulator bit 7 whenever a RIM instruction is executed. SOD (output) Serial output data line. The output SOD is set or reset as specified by the SIM instruction. Vcc+5 volt supply. Vss Ground Reference.

How multiplixed data and address bus of 8086 can be de-multiplixed?

The 8086 has a 20 bit address bus and a 16 bit data bus. The low order 16 bits of the address bus share the same 16 pins as the data bus. The low order 16 bits of the address are emitted in the first clock cycle of a memory access cycle. External logic is expected to latch that address. Then the bus becomes a data bus. The high order 4 bits of the address bus are handled separately.

The determination of operand size (8 bit vs 16 bit) is made by BHE and A0. If BHE is high, it is a 16 bit operand at an even address. If BHE is low and A0 is low, it is an 8 bit operand at an even address. If BHE is low and A0 is high, it is an 8 bit operand at an odd address.

How many memory locations be addressed by a microprocessor with 14 address lines?

A microprocessor that uses 24 bit addressing, such as the Intel 80286, can address 224 or 16,777,216 memory locations. The IBM MainFrame, 360/44 or any modern version running in AMODE=24 also has the same capacity.

What is a 11 letter computer word?

Only one I can think of is Solid Disk Drive but it's 16 letters not 11

What are the features of 8088?

Segmentation concept is first introduced in 8086 microprocessor

How does the microprocessor work?

Suppose we give a 8-bit instruction ADD B to the microprocessor

then this instruction is not at all understood by microprocessor as it only accepts binary inputs

so first of all it stores the instruction in the INSTRUCTION REGISTOR

then it decodes this instruction ADD B to its suitable binary code 80H in the INSTRUCTION DECODER.. after converting to 80H then the microprocessor understands that ..

yes i have to add the content of the resistor B with that of A(accumulator) and store the result in the accumulator A

this is a small example how microprocessor operates facing the instructions

What is the difference between a permanent address and a care of address?

A permanent address for a mobile node is it's IP address when it is at it's home network. A care-of-address is the one its gets when it is visiting a foreign network.

What is the average speed for a central processing unit?

The answer is at best a moving target; the average six months from now will almost certainly be different. Also, "average" how, and over what population? All laptops still in use? All laptops currently being sold? All laptops currently being manufactured? Do underpowered "netbooks" count? The question is so vague as to be effectively meaningless.

Why all the 16 address lines are not act as a data lines in 8085 microprocessor?

the 8085 microprocessor is a 8-bit microprocessor and these are bidirectional but the address lines are unidirectional.these address lines are used to address the location of the instruction in memory .these data lines are used to transfer data between processor and peripheral devices. when the address of the instruction will be recognized by the address lines the data will be send to the processor

therefore the 16 address lines are not act as a data lines in 8085

How physical address is generated in 8086 microprocessor?

For the formation of physical address we need Segment address and offset address

Consider an example

Segment Address : 1005H

Offset Address : 5555H

Segment address : 1005H 0001 0000 0000 0101

Shifted by 4 bit positions : 0001 0000 0000 0101 0000

Offset Address : + 0101 0101 0101 0101

Physical Address : 0001 0101 0101 1010 0101

1 5 5 A 5 H

Physical Address of given Segment Address : 155A5H

What is TEST pin in 8086 in microprocessor?

TEST This input is examined by a 'WAIT' instruction. If the TEST input goes low,

execution will continue, else, the processor remains in an idle state. The input is

synchronized internally during each clock cycle on leading edge of clock.

What is the size of flag register?

All of the 8086/8088 registers, AX, BX, CX, DX, SP, BP, SI, DI, CS, DS, SS, ES, IP, and FLAGS, are 16 bit registers. The AX, BX, CX, and DX registers may also be viewed as 8 eight bit registers AH/AL, BH/BL, CH/CL, and DH/DL.

What is a bus specify the function of address bus and direction of information flow on the address bus?

A bus is a collection of conducting wires which connect the processor and other devices in parallel scheme.

The function of an address bus is to carry the address of the memory locations from the processor to the memory device, the address bus is unidirectional(only in one direction) in this processor so the flow of information on this bus is from the microprocessor to the attached device(memory module).

What is ALE in 8086 in microprocessor?

ALE is a signal that means that the data bus contains the lower order address bus values. External hardware should strobe the data bus during ALE time, and lock it on the falling edge of ALE.

Why was segmentation originally introduced in 8088 architecture?

Memory segmentation is an attempt to address more memory than the processor architecture would normally allow.

In the case of the 8086/8088, a 16 bit processor, you would normally expect addressibility of 64 kb, because that is what the instruction set is capable of developing as an effective address, either in the case of a direct address, an indirect address, or an indexed address, since all of its registers are 16 bits in size.

What Intel did was provide four more registers called segment registers which would provide the base address of an address in physical memory to which the processor generated effective address would be added. The segment register is still 16 bits in size, but it is left shifted by four before being added to the effective address. This creates a physical address that is 20 bits in size, for a total address range of 1 mb.

Note that you are still constrained to a segment size of 64 kb, in that you must stay within 64 kb unless you intend to change the value of one of the segment registers. This hampers the ability to access any arbitrary location in memory, effectively making it a two step operation - load the segment register - then access the offset address.

In the 8086/8088 there are four segment registers; Code Segment (CS), Data Segment (DS), Stack Segment (SS), and Extra Segment (ES). All opcode access is from CS. Default data access is from DS, unless a segment prefix is applied. All stack operations are from SS. Certain repeated string operations take place between DS and ES.

Because of the segmented architecture, the concept of near and far grew up with the original PC and DOS and Windows. Basically, a near address was a 16 bit address that assumed the current segment, while a far address was a 32 bit address that contained both a segment and an offset. Note that the concept of a flat 32 bit address did not come into full play until true 32 bit operating systems hit the street, and that did not occur until the introduction of the 80386.

What is the max ram for a 20 wire CPU address bus?

220 or 1,048,576 locations, otherwise known as 1 meg. If its an 8 bit bus, we are talking about 1 megabyte. That happens to be the size of the address bus of the original 8086/8088 microprocessor.

What are the kinds of microprocessors?

A microprocessor is a chip that serves as the central processing unit (CPU) in personal computer(PCs). it is often called a logic chip or master chip. it controls all programs and performs arithmetic calculations with great accuracy. it acts as the 'brain' of the computer.

example:-

Intel 4004 , Intel 8080 , Intel Pentium Pro , Pentium Microprocessor.

How much virtual memory can be address with 16 bit address bus?

You can address 2^20 (or 1,048,576) locations. Each location will consist of 16 bits (1 or 0) which is commonly called a Word (though that isn't always the case).

I think what you're really looking for is the answer in bytes. Each data bus line holds a bit, 8 bits is a byte, so you're data line is 2 bytes. Since each location holds two bytes, this would be 2,097,152 bytes, or 2MB

What is the purpose of DI register in microprocessor in 8086?

DI is the Index register in Data segment(16-bit, 64 KB) .

Destination Index (DI) is a 16-bit register. DI is used for indexed, based indexed and register indirect addressing, as well as a destination data address in string manipulation instructions.

What is the purpose of a PC?

To provide personal computing power to individual users.

What is the difference between 8080 and 8086?

The major difference between the 8085 and the 8086/8088 is that the 8085 is an 8 bit computer, and the 8086/8088 is a 16 bit computer.

How many data lines in 8086?

There are eight datalines, D0 through D7, in the 8085 microprocessor. They are shared, or multiplexed with the eight low order address lines, A0 through A7, and are called AD0 through AD7 on the pinout drawing.