Posts

Showing posts from August 27, 2017

IRON MAN POSSIBILITY OR MYTH part 1

Image
IRON MAN as we knows about the marvel movies superstar character. It is the just imaginary thinking but after all it is not imaginary at present time it can be possible if we think on just important points.these are such as 

Microprocessor - 8086 Addressing Modes

The different ways in which a source operand is denoted in an instruction is known as  addressing modes . There are 8 different addressing modes in 8086 programming − Immediate addressing mode The addressing mode in which the data operand is a part of the instruction itself is known as immediate addressing mode. Example MOV CX, 4929 H, ADD AX, 2387 H, MOV AL, FFH Register addressing mode It means that the register is the source of an operand for an instruction. Example MOV CX, AX ; copies the contents of the 16-bit AX register into ; the 16-bit CX register), ADD BX, AX Direct addressing mode The addressing mode in which the effective address of the memory location is written directly in the instruction. Example MOV AX, [1592H], MOV AL, [0300H] Register indirect addressing mode This addressing mode allows data to be addressed at any memory location through an offset address held in any of the following registers: BP, BX, DI & SI. Ex

Microprocessor - 8086 Interrupts

Image
Interrupt  is the method of creating a temporary halt during program execution and allows peripheral devices to access the microprocessor. The microprocessor responds to that interrupt with an  ISR  (Interrupt Service Routine), which is a short program to instruct the microprocessor on how to handle the interrupt. The following image shows the types of interrupts we have in a 8086 microprocessor − Hardware Interrupts Hardware interrupt is caused by any peripheral device by sending a signal through a specified pin to the microprocessor. The 8086 has two hardware interrupt pins, i.e. NMI and INTR. NMI is a non-maskable interrupt and INTR is a maskable interrupt having lower priority. One more interrupt pin associated is INTA called interrupt acknowledge. NMI It is a single non-maskable interrupt pin (NMI) having higher priority than the maskable interrupt request pin (INTR)and it is of type 2 interrupt. When this interrupt is activated, these actions take place − Comp

Microprocessor - 8086 Instruction Sets

The 8086 microprocessor supports 8 types of instructions − Data Transfer Instructions Arithmetic Instructions Bit Manipulation Instructions String Instructions Program Execution Transfer Instructions (Branch & Loop Instructions) Processor Control Instructions Iteration Control Instructions Interrupt Instructions Let us now discuss these instruction sets in detail. Data Transfer Instructions These instructions are used to transfer the data from the source operand to the destination operand. Following are the list of instructions under this group − Instruction to transfer a word MOV  − Used to copy the byte or word from the provided source to the provided destination. PPUSH  − Used to put a word at the top of the stack. POP  − Used to get a word from the top of the stack to the provided location. PUSHA  − Used to put all the registers into the stack. POPA  − Used to get words from the stack to all registers. XCHG  − Used to exchange the data from